-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
all: add mod file #632
all: add mod file #632
Conversation
- [go modules](https://github.com/golang/go/wiki/Modules) will be enabled in 1.13. - after merge it would be nice if you would tag this repo: e.g. `v1.1.17`
I haven't had the time to fully read up on modules so far. Is it possible to somehow split this into subdirectories? E.g. |
You can break things up into sub modules if you would like, but they are heirarchical, so you would need separate modules per sub-directory. Though you could put most everything under the root module and break off a few problematic packages as sub modules. Usually submodules are used for versioning purposes: e.g. I want to break compatibility for It is also worth noting that today, since you have no From 1.12 release notes:
|
So I read up a bit on modules, compared with the pull request, and found out the following things:
So we definitely need to include CI testing if we include this and could try what happens if we change the go version. |
Yes, this should not break any existing workflows.
Based on the above comment from the linked ticket, I am led to believe that
sgtm; would you rather block this PR on CI, or is manual testing sufficient so module consumers can get the dependency info. |
@notti, any followup? Happy to leave this sit if there are still decisions being made, but I wanted to close the loop if you are ready to merge. |
My plan is to fix the ci testing sometime this week and then merge this. |
v1.1.17