Parcourir la source

Use user-defined GOPROXY if possible

Zheng Piaodan il y a 5 ans
Parent
commit
942947fac4
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -1,5 +1,6 @@
 export GO111MODULE=on
-export GOPROXY=https://proxy.golang.org
+GOPROXY ?= https://proxy.golang.org
+export GOPROXY
 
 BUILD_TAG = devel
 ARCH ?= $(shell uname -m)