aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAgniva De Sarker <agnivade@yahoo.co.in>2018-09-19 12:46:09 +0530
committerDaniel Martí <mvdan@mvdan.cc>2018-09-27 07:39:47 +0000
commitbf70ba07014c15e0b58a308080aa568c8a35f532 (patch)
treef89ec53b0189bf7ce6db24e10df659e960a1a87c /src
parent141eacd27298c1d9f6019f0d1bde90ad8d07bebe (diff)
downloadgo-bf70ba07014c15e0b58a308080aa568c8a35f532.tar.xz
go/build: clarify that there are no build tags for minor releases
Fixes #26458 Change-Id: If932718ca8a2b230ab52495c1a7a82d86ab1325b Reviewed-on: https://go-review.googlesource.com/136215 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/go/build/doc.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/go/build/doc.go b/src/go/build/doc.go
index 69613e359c..d803b8967b 100644
--- a/src/go/build/doc.go
+++ b/src/go/build/doc.go
@@ -110,6 +110,9 @@
// - "go1.11", from Go version 1.11 onward
// - any additional words listed in ctxt.BuildTags
//
+// There are no build tags for beta or minor releases. Programs that need the
+// minor release number can call runtime.Version.
+//
// If a file's name, after stripping the extension and a possible _test suffix,
// matches any of the following patterns:
// *_GOOS