更改 mod管理依赖

This commit is contained in:
dengsgo
2020-03-05 15:31:47 +08:00
parent 2d409fbce0
commit 29fc62de90
3 changed files with 17 additions and 2 deletions

View File

@@ -10,8 +10,7 @@
# make build-start-mac 编译+启动
init:
go get -u gopkg.in/yaml.v2
go get -u gopkg.in/fsnotify/fsnotify.v1
go get -u
build-mac: ;@echo "编译-mac版";
CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -ldflags "-s -w" -o ./bin/fileboy-darwin-amd64.bin