Skip to content

Conversation

@AdamSLevy
Copy link
Contributor

Go 1.11 introduces go modules for dependency management. This PR switches away from Glide to the official go modules.

Official documentation about go modules can be found here: https://golang.org/cmd/go/#hdr-Preliminary_module_support

Please note that go modules assume semantic versioning. No non-backwards compatible changes to this repo may be made without officially bumping to v2. This is a Good Thing (tm) because now we can really refactor this library without breaking things for other people who depend on the previous version of the library. Anyone wanting to use the new version would include "github.com/FactomProject/factom/v2" instead and everyone else will be unaffected. The go get and go build commands are now aware of such versioning so it will do the Right Thing.

@AdamSLevy
Copy link
Contributor Author

Another note: go mod is aware of git tags. So use them properly with the semantic versioning and everyone will play nice.

@AdamSLevy
Copy link
Contributor Author

rebased on master

@WhoSoup
Copy link
Member

WhoSoup commented Aug 13, 2020

Using the newer PR #136 instead of this

@WhoSoup WhoSoup closed this Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants