Skip to content

Commit f4301d9

Browse files
smasher164heschi
authored andcommitted
internal/imports: update stdlib index for 1.16
$ go run mkstdlib.go Updates golang/go#38706. Change-Id: I9d5bce3083d2a57eea2ea89c6a99a410ed169f05 Reviewed-on: https://go-review.googlesource.com/c/tools/+/293839 Run-TryBot: Akhil Indurti <[email protected]> Run-TryBot: Heschi Kreinick <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]> Trust: Heschi Kreinick <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]> gopls-CI: kokoro <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent f3748ed commit f4301d9

File tree

2 files changed

+220
-1
lines changed

2 files changed

+220
-1
lines changed

internal/imports/mkstdlib.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"bytes"
1515
"fmt"
1616
"go/format"
17-
exec "golang.org/x/sys/execabs"
1817
"io"
1918
"io/ioutil"
2019
"log"
@@ -23,6 +22,8 @@ import (
2322
"regexp"
2423
"runtime"
2524
"sort"
25+
26+
exec "golang.org/x/sys/execabs"
2627
)
2728

2829
func mustOpen(name string) io.Reader {
@@ -66,6 +67,7 @@ func main() {
6667
mustOpen(api("go1.13.txt")),
6768
mustOpen(api("go1.14.txt")),
6869
mustOpen(api("go1.15.txt")),
70+
mustOpen(api("go1.16.txt")),
6971

7072
// The API of the syscall/js package needs to be computed explicitly,
7173
// because it's not included in the GOROOT/api/go1.*.txt files at this time.

0 commit comments

Comments
 (0)