基礎實戰
Section 1
Section 1-1
# Create your project folder and cd inside
$ mkdir -p $GOPATH/src/github.com/username/project && cd "$_"$ export GO111MODULE=on
$ go mod init github.com/appleboy/project
$ go mod download$ go clean -i -x -modcachesection 1-2 govendor
govendor$ mkdir -p $GOPATH/src/github.com/JasonYCHuang/project && cd "$_"
$ govendor init
$ govendor fetch github.com/gin-gonic/gin@v1.3
$ govendor sync
$ govendor add +externalSection 3
Section 3-1
Section 3-2
Section 3-3
Section 3-4
Last updated