https://github.com/vikyd/go-branch-only
Simple Golang program, tested by go get(modules), check whether go get use git branch as version
https://github.com/vikyd/go-branch-only
Last synced: 11 months ago
JSON representation
Simple Golang program, tested by go get(modules), check whether go get use git branch as version
- Host: GitHub
- URL: https://github.com/vikyd/go-branch-only
- Owner: vikyd
- License: mit
- Created: 2020-02-15T03:15:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T13:49:08.000Z (over 6 years ago)
- Last Synced: 2024-06-20T11:48:21.156Z (almost 2 years ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-branch-only
Simple Golang program, tested by go get(modules), check whether go get use git branch as version
This repository has semver branch only, without any tags.
# usage
```sh
# create empty dir outside GOPATH
mkdir ~/test-go-branch
cd ~/test-go-branch
# init empty go module
go mod init example.com/a/b
cat go.mod
# go get this module
go get -v github.com/vikyd/go-branch-only
# check version
cat go.mod
```