internal/imports: update stdlib index for 1.17
$ go run mkstdlib.go
Updates golang/go#38706.
Change-Id: I0ad28f7d5e1fec2d1ccc3bc0f01f43a7d2f0d817
Reviewed-on: https://go-review.googlesource.com/c/tools/+/344629
Run-TryBot: Akhil Indurti <aindurti@gmail.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/internal/imports/mkstdlib.go b/internal/imports/mkstdlib.go
index f5ea292..8eb4e12 100644
--- a/internal/imports/mkstdlib.go
+++ b/internal/imports/mkstdlib.go
@@ -69,6 +69,7 @@
mustOpen(api("go1.14.txt")),
mustOpen(api("go1.15.txt")),
mustOpen(api("go1.16.txt")),
+ mustOpen(api("go1.17.txt")),
// The API of the syscall/js package needs to be computed explicitly,
// because it's not included in the GOROOT/api/go1.*.txt files at this time.
diff --git a/internal/imports/zstdlib.go b/internal/imports/zstdlib.go
index ccdd4e0..7de2be9 100644
--- a/internal/imports/zstdlib.go
+++ b/internal/imports/zstdlib.go
@@ -180,6 +180,8 @@
"NewReader",
"NewWriter",
"Order",
+ "Reader",
+ "Writer",
},
"compress/zlib": []string{
"BestCompression",
@@ -641,7 +643,9 @@
"Named",
"NamedArg",
"NullBool",
+ "NullByte",
"NullFloat64",
+ "NullInt16",
"NullInt32",
"NullInt64",
"NullString",
@@ -2248,6 +2252,7 @@
"SHT_LOOS",
"SHT_LOPROC",
"SHT_LOUSER",
+ "SHT_MIPS_ABIFLAGS",
"SHT_NOBITS",
"SHT_NOTE",
"SHT_NULL",
@@ -3061,6 +3066,7 @@
"ParseExpr",
"ParseExprFrom",
"ParseFile",
+ "SkipObjectResolution",
"SpuriousErrors",
"Trace",
},
@@ -3441,6 +3447,7 @@
"Pt",
"RGBA",
"RGBA64",
+ "RGBA64Image",
"Rect",
"Rectangle",
"RegisterFormat",
@@ -3507,6 +3514,7 @@
"Op",
"Over",
"Quantizer",
+ "RGBA64Image",
"Src",
},
"image/gif": []string{
@@ -3612,6 +3620,7 @@
"FS",
"File",
"FileInfo",
+ "FileInfoToDirEntry",
"FileMode",
"Glob",
"GlobFS",
@@ -3772,15 +3781,18 @@
"Max",
"MaxFloat32",
"MaxFloat64",
+ "MaxInt",
"MaxInt16",
"MaxInt32",
"MaxInt64",
"MaxInt8",
+ "MaxUint",
"MaxUint16",
"MaxUint32",
"MaxUint64",
"MaxUint8",
"Min",
+ "MinInt",
"MinInt16",
"MinInt32",
"MinInt64",
@@ -4078,6 +4090,7 @@
"UnknownNetworkError",
},
"net/http": []string{
+ "AllowQuerySemicolons",
"CanonicalHeaderKey",
"Client",
"CloseNotifier",
@@ -4660,6 +4673,7 @@
"Value",
"ValueError",
"ValueOf",
+ "VisibleFields",
"Zero",
},
"regexp": []string{
@@ -4799,6 +4813,10 @@
"UnlockOSThread",
"Version",
},
+ "runtime/cgo": []string{
+ "Handle",
+ "NewHandle",
+ },
"runtime/debug": []string{
"BuildInfo",
"FreeOSMemory",
@@ -4915,6 +4933,7 @@
"QuoteRuneToGraphic",
"QuoteToASCII",
"QuoteToGraphic",
+ "QuotedPrefix",
"Unquote",
"UnquoteChar",
},
@@ -10334,6 +10353,7 @@
"PipeNode",
"Pos",
"RangeNode",
+ "SkipFuncCheck",
"StringNode",
"TemplateNode",
"TextNode",
@@ -10358,6 +10378,7 @@
"July",
"June",
"Kitchen",
+ "Layout",
"LoadLocation",
"LoadLocationFromTZData",
"Local",
@@ -10406,6 +10427,8 @@
"UTC",
"Unix",
"UnixDate",
+ "UnixMicro",
+ "UnixMilli",
"Until",
"Wednesday",
"Weekday",