Browse Source

Use user-defined GOPROXY if possible

Zheng Piaodan 5 years ago
parent
commit
942947fac4
1 changed files with 2 additions and 1 deletions
  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)