-
Notifications
You must be signed in to change notification settings - Fork 376
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
Add buildEnvironment
and debug
to buildInfo
command
#218
Conversation
Codecov Report
@@ Coverage Diff @@
## main #218 +/- ##
==========================================
- Coverage 50.03% 49.98% -0.06%
==========================================
Files 108 108
Lines 5054 5066 +12
==========================================
+ Hits 2529 2532 +3
- Misses 2128 2137 +9
Partials 397 397
Continue to review full report at Codecov.
|
buildEnvironment
and debug
to buildInfo
command
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.
There is a merge conflict that should be resolved
Resolved :) |
internal/util/version/version.go
Outdated
info.IsDebugBuild = true | ||
} | ||
case "-tags": | ||
// TODO: replace for slices.Contains() |
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.
We totally could that now :)
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.
Yeah, just wasn't sure about getting golang.org/x/exp
as a dependency only to use slices.Contains()
in this place
Closes #199.