hello-world-publish-go-mod
Just example of publishing go module
Article
Semver
Create and publish module
1. Init go.mod
# go mod init github.com/<github_user_name>/<repository_name>
go mod init github.com/asstart/hello-world-publish-go-mod
2. Write some code
3. Push changes to remote
4. Create tag with version
git tag v1.0.0
5. Push tag to remote
git push origin v1.0.0
Use module
1. Download and build
go install github.com/asstart/hello-world-publish-go-mod@1.0.0
2. Run
$GOPATH/bin/hello-world-publish-go-mod