Could you create a new version tag which is compatible with go modules?
hkdnet opened this issue · comments
hkdnet commented
Recently, forego has date-format tags but these tags are incompatible with go module tags.
ref: https://github.com/golang/go/wiki/Modules#modules
Modules must be semantically versioned according to semver, usually in the form v(major).(minor).(patch), such as v0.1.0, v1.2.3, or v1.5.0-rc.1. The leading v is required. If using Git, tag released commits with their versions.
I cannot get the latest version with GO111MODULE=on
because recent tags, incompatible with go modules, are ignored.
$ GO111MODULE=on go mod init
$ GO111MODULE=on go get -u github.com/ddollar/forego
$ cat go.mod
module github.com/hkdnet/foo
go 1.12
require github.com/ddollar/forego v0.16.1 // indirect
Could you create a new version tag? I hope I can get the latest version with GO111MODULE=on
.
Jeff Widman commented
#128 includes switching to go modules.