]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: revise the document of Version()
authorShenghou Ma <minux.ma@gmail.com>
Tue, 20 May 2014 18:41:24 +0000 (14:41 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 20 May 2014 18:41:24 +0000 (14:41 -0400)
Fixes #7701. (again, differently)

LGTM=rsc
R=iant, rsc
CC=golang-codereviews
https://golang.org/cl/94560043

src/pkg/runtime/extern.go

index 2466911dd695d9129009b2a0b5dab79770738715..053dc101477355f5bc8ffc143375883f173b4fe0 100644 (file)
@@ -190,10 +190,8 @@ func GOROOT() string {
 }
 
 // Version returns the Go tree's version string.
-// It is either a sequence number or, when possible,
-// a release tag like "release.2010-03-04".
-// A trailing + indicates that the tree had local modifications
-// at the time of the build.
+// It is either the commit hash and date at the time of the build or,
+// when possible, a release tag like "go1.3".
 func Version() string {
        return theVersion
 }