连续复制
一键复制
一键打包
mac下编译window
mac编译windows
brew install mingw-w64
env GOOS="windows" GOARCH="386" CGO_ENABLED="1" CC="i686-w64-mingw32-gcc" go build
linux编译
env GOOS="linux" GOARCH="amd64" CGO_ENABLED="0" go build
question
module declares its path as
1、fork 仓库 github.com/pm-esd/querydb to github.com/yinluobing/querydb
2、调整代码、 go.mod 内容 github.com/pm-esd/querydb 替换 github.com/yinluobing/querydb
3、git add . && git commit "[更新]xxx" && git push origin master
4、git log 获取commit-id
5、go get -u github.com/yinluobing/querydb@commit-id
评论已关闭