Przeglądaj źródła

Use user-defined GOPROXY if possible

Zheng Piaodan 5 lat temu
rodzic
commit
942947fac4
1 zmienionych plików z 2 dodań i 1 usunięć
  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)