diff options
author | Jay Conrod <jayconrod@google.com> | 2021-09-30 10:46:03 -0700 |
---|---|---|
committer | Jay Conrod <jayconrod@google.com> | 2021-10-14 18:44:21 +0000 |
commit | 85a068fdf21bd2e4475a87ee049af4fbe797bcbe (patch) | |
tree | dad851a6a338f9928687e20591fd705e6ee306a3 /api | |
parent | 434cdd0337b9e6c7e0c369c9293cc14fd38dc80d (diff) | |
download | go-85a068fdf21bd2e4475a87ee049af4fbe797bcbe.tar.gz go-85a068fdf21bd2e4475a87ee049af4fbe797bcbe.zip |
runtime/debug: add GoVersion to BuildInfo
BuildInfo now includes the version of Go used to build a binary, as
reported by runtime.Version() or 'go version'.
For #37475
Change-Id: Id07dda357dc70599d64a9202dab894c7288de1de
Reviewed-on: https://go-review.googlesource.com/c/go/+/353888
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/next.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next.txt b/api/next.txt index 0a976d7b19..ced738e480 100644 --- a/api/next.txt +++ b/api/next.txt @@ -3,6 +3,7 @@ pkg debug/buildinfo, func ReadFile(string) (*debug.BuildInfo, error) pkg debug/buildinfo, type BuildInfo = debug.BuildInfo pkg runtime/debug, method (*BuildInfo) MarshalText() ([]byte, error) pkg runtime/debug, method (*BuildInfo) UnmarshalText() ([]byte, error) +pkg runtime/debug, type BuildInfo struct, GoVersion string pkg syscall (darwin-amd64), func RecvfromInet4(int, []uint8, int, *SockaddrInet4) (int, error) pkg syscall (darwin-amd64), func RecvfromInet6(int, []uint8, int, *SockaddrInet6) (int, error) pkg syscall (darwin-amd64), func SendtoInet4(int, []uint8, int, SockaddrInet4) error |