]> Cypherpunks repositories - gostls13.git/commit
cmd/api: don’t rely on hardcoded go versions
authorAndrew Bonventre <andybons@golang.org>
Mon, 11 Dec 2017 21:21:07 +0000 (16:21 -0500)
committerAndrew Bonventre <andybons@golang.org>
Mon, 11 Dec 2017 22:28:37 +0000 (22:28 +0000)
commit43123903caa2db79057711e5c672512bce2d2b2a
treeaaf2213d2eecb99b6e941c6cf779add14c35e14d
parent2fb9fe48c63ed0b7eee36d0d8c2d494ad70602b0
cmd/api: don’t rely on hardcoded go versions

Instead of requiring that cmd/api/run.go be edited upon each
release to include the next Go version number, look in $GOROOT/api
for files with the prefix go1* and use those instead to perform
API checks.

Change-Id: I5d9407f2bd368ff5e62f487cccdd245641ca9c9b
Reviewed-on: https://go-review.googlesource.com/83355
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/api/run.go