-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: set up go modules #32
Conversation
I updated the build.savant file to include the
versus
|
Can we accomplish this without a change to |
@robotdan Go expects the git tag to be in the form of v{major}.{minor}.{patch}. Is there something else that can be done to tag it in this form? |
Perhaps, I'll have to look at it. We versioning and tagging is all automated by our build tools. |
81cc890
to
cb5d3db
Compare
@robotdan removed the changes to build.savant |
For clarify on my end, the And unless we modify our tag name to be I'm hesitant to change the way we tag this repo. We use Semantic Versioning 2.0.0 across all of our projects which does not require a It looks like there is still some debate perhaps, or other suggestions that Go support both I'm happy to accept the |
The go mod would show dependencies outside of the standard library, but there aren't any in this package. The problem with the current pseudo version is that it is tied to the commit hash and doesn't show a version, so if a user wanted to go to The debate you mentioned is from 2018, and a comment on a more recent ones golang/go#32945 (comment) golang/go#30146 (comment) make it seem like there is no chance of this being done. I would like to get this merged in but this wouldn't be necessary since consumers of the package wouldn't be able to cleanly hop from one version to the another. Would tagging |
fa35913
to
b8a556f
Compare
@robotdan any thoughts on my suggestion that we could tag this repo both ways? |
Would definitely be useful to version the go client in a way that is useful for go. |
This will set up the go.mod file for this repo to use Go Modules.