how to build open source pkg in github
- 1st, make a rep, like
https://github.com/scott-x/test
- git clone it in to your
$GOPATH
specify folder, here isscott-x
cd $GOPATH/src/github.com/scott-x
# then git clone
Just make sure your pkg attribute can be accessable.
如果,go get
更新不了package
GO111MODULE=off