-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the output of the "version" command.
Make more effort to discover version information, even if vcs.* tags are not available in the build info because the program was installed "remotely", e.g., via "go install" without a repository present. Also add a --json flag to the version command, allowing these data to be written out in machine-readable form.
- Loading branch information
1 parent
0e80c0c
commit 0d1fc49
Showing
1 changed file
with
118 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters