-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use Go Modules #15
Use Go Modules #15
Conversation
We usually don't vendor package dependencies. That is why you don't see a vendor.conf here. We let the calling application/project pin the deps. With this in mind, do you think we should add go mod here? |
I think it is worth adding go.mod to all our (Go) projects. Can you add the vendor line so it can test the projects is working (just merged that in)
|
@crosbymichael it definitely makes sense not to vendor deps in a library, but adding a @dmcgowan done |
Maybe after the release tool is updated to support go mods. I am not a huge fan of arbitrarily creating tagged versions just because some tooling doesn't like hashes, if we tag we should follow a unified release process. |
@dmcgowan oh, I didn't think about this, but the files will always be modified because nothing is vendored right now. What is it exactly you were hoping to validate? |
Codecov Report
@@ Coverage Diff @@
## master #15 +/- ##
======================================
Coverage 64.1% 64.1%
======================================
Files 1 1
Lines 78 78
======================================
Hits 50 50
Misses 21 21
Partials 7 7 Continue to review full report at Codecov.
|
@SamWhited By using go 1.12 and having the |
@dmcgowan yes, unless modules are turned off somewhere or we're inside the GOPATH with 1.12. Probably best to just manually set EDIT: done. |
Signed-off-by: Sam Whited <sam@samwhited.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM |
Please consider also adding a semver compatible tag so this can be used from other packages that support Go Modules, eg. to start you could tag this commit as
v0.0.1
.