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

cmd/go: version information at run time #2799

Closed
rsc opened this issue Jan 27, 2012 · 3 comments
Closed

cmd/go: version information at run time #2799

rsc opened this issue Jan 27, 2012 · 3 comments
Milestone

Comments

@rsc
Copy link
Contributor

rsc commented Jan 27, 2012

Comment #8 of issue #2606:

I like the new tool!

A feature request:
The only code-generation that I do is to embed version information into my binaries. 
(see https://groups.google.com/group/golang-dev/browse_thread/thread/0c50f73868f9525e ).
 This seems almost possible with the {{.Version}} information.  Could that {{.Version}}
be exposed to binaries in some way?

A few documentation suggestions:
From the one-line summary, 'build', 'get', and 'install' all sound nearly identical.  It
would be nice if the one-line summary helped distinguish between them better.  For
example do 'get' and 'install' not compile a program?  Build sounds like it installs a
command or package (though the long help suggests otherwise).

It would be nice if the long 'go help build' were indented.  As it is, it's hard to see
where in my terminal window that help text begins.
@rsc
Copy link
Contributor Author

rsc commented Sep 12, 2012

Comment 1:

Labels changed: added go1.1maybe.

@davecheney
Copy link
Contributor

Comment 2:

Issue #4492 has been merged into this issue.

@rsc
Copy link
Contributor Author

rsc commented Dec 9, 2012

Comment 3:

I don't think we're going to do this. Not sure why 4492 was merged into this. Will
reopen 4492.

Status changed to WorkingAsIntended.

@rsc rsc self-assigned this Dec 9, 2012
@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1maybe label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants