Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit d238712

Browse files
committed
use goproxy.cn
1 parent e4796ce commit d238712

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build_go.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/sh
22
cp main.go main.go.org
33
sed -i 's/http.Dir(\".\/frontend\/dist\/\")/assetFS()/g' main.go
4+
go env -w GO111MODULE=on
5+
go env -w GOPROXY=https://goproxy.cn,direct
46
go get github.com/go-bindata/go-bindata/...
57
go get github.com/elazarl/go-bindata-assetfs/...
68
go-bindata-assetfs -prefix frontend frontend/dist/...

0 commit comments

Comments
 (0)