Skip to content
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

Switch to Go modules. #94

Merged
merged 2 commits into from
Oct 29, 2018
Merged

Conversation

timoreimann
Copy link
Collaborator

We keep the vendor folder but repopulate it through Go modules.

Also bump minimum required Go version to 1.11 for dependency management reasons.

Fixes #78

We keep the vendor folder but repopulate it through Go modules.

Also bump minimum required Go version to 1.11 for dependency management
reasons.
@timoreimann
Copy link
Collaborator Author

@fatih I wasn't exactly sure if we wanted to keep building for Go 1.10 in Travis or drop support since module-based dependency management forces us to go with 1.11 to my understanding.

Happy to adjust, of course.

@timoreimann
Copy link
Collaborator Author

timoreimann commented Oct 29, 2018

Pushed another commit with the result of go mod tidy executed. Keeping it separate for now to show the diff more easily, happy to squash latter.

@fatih
Copy link
Contributor

fatih commented Oct 29, 2018

Thanks @timoreimann. I tested this on a folder outside GOPATH and everything works fine (including unit and integration tests).

@fatih fatih merged commit 38508a8 into digitalocean:master Oct 29, 2018
@timoreimann timoreimann deleted the switch-to-go-modules branch October 29, 2018 10:18
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