1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:54:43 -07:00

imports: update static stdlib index to go1.6

Change-Id: Ie19594472ec0fa2455a3f1aeac681e74eb3a6b0b
Reviewed-on: https://go-review.googlesource.com/22539
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Konstantin Shaposhnikov 2016-04-28 10:41:15 +08:00 committed by Brad Fitzpatrick
parent 0f5f9fcf9a
commit e48e17a0b5
2 changed files with 132 additions and 13 deletions

View File

@ -49,6 +49,7 @@ func main() {
mustOpen(api("go1.3.txt")),
mustOpen(api("go1.4.txt")),
mustOpen(api("go1.5.txt")),
mustOpen(api("go1.6.txt")),
)
sc := bufio.NewScanner(f)
fullImport := map[string]string{} // "zip.NewReader" => "archive/zip"

View File

@ -16,6 +16,10 @@ var stdlib = map[string]string{
"ascii85.NewDecoder": "encoding/ascii85",
"ascii85.NewEncoder": "encoding/ascii85",
"asn1.BitString": "encoding/asn1",
"asn1.ClassApplication": "encoding/asn1",
"asn1.ClassContextSpecific": "encoding/asn1",
"asn1.ClassPrivate": "encoding/asn1",
"asn1.ClassUniversal": "encoding/asn1",
"asn1.Enumerated": "encoding/asn1",
"asn1.Flag": "encoding/asn1",
"asn1.Marshal": "encoding/asn1",
@ -24,6 +28,21 @@ var stdlib = map[string]string{
"asn1.RawValue": "encoding/asn1",
"asn1.StructuralError": "encoding/asn1",
"asn1.SyntaxError": "encoding/asn1",
"asn1.TagBitString": "encoding/asn1",
"asn1.TagBoolean": "encoding/asn1",
"asn1.TagEnum": "encoding/asn1",
"asn1.TagGeneralString": "encoding/asn1",
"asn1.TagGeneralizedTime": "encoding/asn1",
"asn1.TagIA5String": "encoding/asn1",
"asn1.TagInteger": "encoding/asn1",
"asn1.TagOID": "encoding/asn1",
"asn1.TagOctetString": "encoding/asn1",
"asn1.TagPrintableString": "encoding/asn1",
"asn1.TagSequence": "encoding/asn1",
"asn1.TagSet": "encoding/asn1",
"asn1.TagT61String": "encoding/asn1",
"asn1.TagUTCTime": "encoding/asn1",
"asn1.TagUTF8String": "encoding/asn1",
"asn1.Unmarshal": "encoding/asn1",
"asn1.UnmarshalWithParams": "encoding/asn1",
"ast.ArrayType": "go/ast",
@ -212,6 +231,7 @@ var stdlib = map[string]string{
"binary.Write": "encoding/binary",
"bufio.ErrAdvanceTooFar": "bufio",
"bufio.ErrBufferFull": "bufio",
"bufio.ErrFinalToken": "bufio",
"bufio.ErrInvalidUnreadByte": "bufio",
"bufio.ErrInvalidUnreadRune": "bufio",
"bufio.ErrNegativeAdvance": "bufio",
@ -238,6 +258,7 @@ var stdlib = map[string]string{
"build.Context": "go/build",
"build.Default": "go/build",
"build.FindOnly": "go/build",
"build.IgnoreVendor": "go/build",
"build.Import": "go/build",
"build.ImportComment": "go/build",
"build.ImportDir": "go/build",
@ -363,6 +384,8 @@ var stdlib = map[string]string{
"color.NRGBA64": "image/color",
"color.NRGBA64Model": "image/color",
"color.NRGBAModel": "image/color",
"color.NYCbCrA": "image/color",
"color.NYCbCrAModel": "image/color",
"color.Opaque": "image/color",
"color.Palette": "image/color",
"color.RGBA": "image/color",
@ -406,6 +429,9 @@ var stdlib = map[string]string{
"constant.Sign": "go/constant",
"constant.String": "go/constant",
"constant.StringVal": "go/constant",
"constant.ToComplex": "go/constant",
"constant.ToFloat": "go/constant",
"constant.ToInt": "go/constant",
"constant.Uint64Val": "go/constant",
"constant.UnaryOp": "go/constant",
"constant.Unknown": "go/constant",
@ -473,6 +499,7 @@ var stdlib = map[string]string{
"debug.SetMaxStack": "runtime/debug",
"debug.SetMaxThreads": "runtime/debug",
"debug.SetPanicOnFault": "runtime/debug",
"debug.SetTraceback": "runtime/debug",
"debug.Stack": "runtime/debug",
"debug.WriteHeapDump": "runtime/debug",
"des.BlockSize": "crypto/des",
@ -634,6 +661,7 @@ var stdlib = map[string]string{
"dwarf.ClassReferenceSig": "debug/dwarf",
"dwarf.ClassString": "debug/dwarf",
"dwarf.ClassStringAlt": "debug/dwarf",
"dwarf.ClassUnknown": "debug/dwarf",
"dwarf.CommonType": "debug/dwarf",
"dwarf.ComplexType": "debug/dwarf",
"dwarf.Data": "debug/dwarf",
@ -732,7 +760,15 @@ var stdlib = map[string]string{
"ecdsa.Sign": "crypto/ecdsa",
"ecdsa.Verify": "crypto/ecdsa",
"elf.ARM_MAGIC_TRAMP_NUMBER": "debug/elf",
"elf.COMPRESS_HIOS": "debug/elf",
"elf.COMPRESS_HIPROC": "debug/elf",
"elf.COMPRESS_LOOS": "debug/elf",
"elf.COMPRESS_LOPROC": "debug/elf",
"elf.COMPRESS_ZLIB": "debug/elf",
"elf.Chdr32": "debug/elf",
"elf.Chdr64": "debug/elf",
"elf.Class": "debug/elf",
"elf.CompressionType": "debug/elf",
"elf.DF_BIND_NOW": "debug/elf",
"elf.DF_ORIGIN": "debug/elf",
"elf.DF_STATIC_TLS": "debug/elf",
@ -1129,6 +1165,55 @@ var stdlib = map[string]string{
"elf.R_ARM_XPC25": "debug/elf",
"elf.R_INFO": "debug/elf",
"elf.R_INFO32": "debug/elf",
"elf.R_MIPS": "debug/elf",
"elf.R_MIPS_16": "debug/elf",
"elf.R_MIPS_26": "debug/elf",
"elf.R_MIPS_32": "debug/elf",
"elf.R_MIPS_64": "debug/elf",
"elf.R_MIPS_ADD_IMMEDIATE": "debug/elf",
"elf.R_MIPS_CALL16": "debug/elf",
"elf.R_MIPS_CALL_HI16": "debug/elf",
"elf.R_MIPS_CALL_LO16": "debug/elf",
"elf.R_MIPS_DELETE": "debug/elf",
"elf.R_MIPS_GOT16": "debug/elf",
"elf.R_MIPS_GOT_DISP": "debug/elf",
"elf.R_MIPS_GOT_HI16": "debug/elf",
"elf.R_MIPS_GOT_LO16": "debug/elf",
"elf.R_MIPS_GOT_OFST": "debug/elf",
"elf.R_MIPS_GOT_PAGE": "debug/elf",
"elf.R_MIPS_GPREL16": "debug/elf",
"elf.R_MIPS_GPREL32": "debug/elf",
"elf.R_MIPS_HI16": "debug/elf",
"elf.R_MIPS_HIGHER": "debug/elf",
"elf.R_MIPS_HIGHEST": "debug/elf",
"elf.R_MIPS_INSERT_A": "debug/elf",
"elf.R_MIPS_INSERT_B": "debug/elf",
"elf.R_MIPS_JALR": "debug/elf",
"elf.R_MIPS_LITERAL": "debug/elf",
"elf.R_MIPS_LO16": "debug/elf",
"elf.R_MIPS_NONE": "debug/elf",
"elf.R_MIPS_PC16": "debug/elf",
"elf.R_MIPS_PJUMP": "debug/elf",
"elf.R_MIPS_REL16": "debug/elf",
"elf.R_MIPS_REL32": "debug/elf",
"elf.R_MIPS_RELGOT": "debug/elf",
"elf.R_MIPS_SCN_DISP": "debug/elf",
"elf.R_MIPS_SHIFT5": "debug/elf",
"elf.R_MIPS_SHIFT6": "debug/elf",
"elf.R_MIPS_SUB": "debug/elf",
"elf.R_MIPS_TLS_DTPMOD32": "debug/elf",
"elf.R_MIPS_TLS_DTPMOD64": "debug/elf",
"elf.R_MIPS_TLS_DTPREL32": "debug/elf",
"elf.R_MIPS_TLS_DTPREL64": "debug/elf",
"elf.R_MIPS_TLS_DTPREL_HI16": "debug/elf",
"elf.R_MIPS_TLS_DTPREL_LO16": "debug/elf",
"elf.R_MIPS_TLS_GD": "debug/elf",
"elf.R_MIPS_TLS_GOTTPREL": "debug/elf",
"elf.R_MIPS_TLS_LDM": "debug/elf",
"elf.R_MIPS_TLS_TPREL32": "debug/elf",
"elf.R_MIPS_TLS_TPREL64": "debug/elf",
"elf.R_MIPS_TLS_TPREL_HI16": "debug/elf",
"elf.R_MIPS_TLS_TPREL_LO16": "debug/elf",
"elf.R_PPC": "debug/elf",
"elf.R_PPC64": "debug/elf",
"elf.R_PPC64_ADDR14": "debug/elf",
@ -1382,6 +1467,7 @@ var stdlib = map[string]string{
"elf.Rela32": "debug/elf",
"elf.Rela64": "debug/elf",
"elf.SHF_ALLOC": "debug/elf",
"elf.SHF_COMPRESSED": "debug/elf",
"elf.SHF_EXECINSTR": "debug/elf",
"elf.SHF_GROUP": "debug/elf",
"elf.SHF_INFO_LINK": "debug/elf",
@ -1714,6 +1800,7 @@ var stdlib = map[string]string{
"http.ErrNotMultipart": "net/http",
"http.ErrNotSupported": "net/http",
"http.ErrShortBody": "net/http",
"http.ErrSkipAltProtocol": "net/http",
"http.ErrUnexpectedTrailer": "net/http",
"http.ErrWriteAfterFlush": "net/http",
"http.Error": "net/http",
@ -1732,6 +1819,15 @@ var stdlib = map[string]string{
"http.ListenAndServe": "net/http",
"http.ListenAndServeTLS": "net/http",
"http.MaxBytesReader": "net/http",
"http.MethodConnect": "net/http",
"http.MethodDelete": "net/http",
"http.MethodGet": "net/http",
"http.MethodHead": "net/http",
"http.MethodOptions": "net/http",
"http.MethodPatch": "net/http",
"http.MethodPost": "net/http",
"http.MethodPut": "net/http",
"http.MethodTrace": "net/http",
"http.NewFileTransport": "net/http",
"http.NewRequest": "net/http",
"http.NewServeMux": "net/http",
@ -1780,6 +1876,7 @@ var stdlib = map[string]string{
"http.StatusMethodNotAllowed": "net/http",
"http.StatusMovedPermanently": "net/http",
"http.StatusMultipleChoices": "net/http",
"http.StatusNetworkAuthenticationRequired": "net/http",
"http.StatusNoContent": "net/http",
"http.StatusNonAuthoritativeInfo": "net/http",
"http.StatusNotAcceptable": "net/http",
@ -1790,8 +1887,10 @@ var stdlib = map[string]string{
"http.StatusPartialContent": "net/http",
"http.StatusPaymentRequired": "net/http",
"http.StatusPreconditionFailed": "net/http",
"http.StatusPreconditionRequired": "net/http",
"http.StatusProxyAuthRequired": "net/http",
"http.StatusRequestEntityTooLarge": "net/http",
"http.StatusRequestHeaderFieldsTooLarge": "net/http",
"http.StatusRequestTimeout": "net/http",
"http.StatusRequestURITooLong": "net/http",
"http.StatusRequestedRangeNotSatisfiable": "net/http",
@ -1802,7 +1901,9 @@ var stdlib = map[string]string{
"http.StatusTeapot": "net/http",
"http.StatusTemporaryRedirect": "net/http",
"http.StatusText": "net/http",
"http.StatusTooManyRequests": "net/http",
"http.StatusUnauthorized": "net/http",
"http.StatusUnavailableForLegalReasons": "net/http",
"http.StatusUnsupportedMediaType": "net/http",
"http.StatusUseProxy": "net/http",
"http.StripPrefix": "net/http",
@ -1816,6 +1917,7 @@ var stdlib = map[string]string{
"httptest.NewUnstartedServer": "net/http/httptest",
"httptest.ResponseRecorder": "net/http/httptest",
"httptest.Server": "net/http/httptest",
"httputil.BufferPool": "net/http/httputil",
"httputil.ClientConn": "net/http/httputil",
"httputil.DumpRequest": "net/http/httputil",
"httputil.DumpRequestOut": "net/http/httputil",
@ -1845,6 +1947,7 @@ var stdlib = map[string]string{
"image.Image": "image",
"image.NRGBA": "image",
"image.NRGBA64": "image",
"image.NYCbCrA": "image",
"image.NewAlpha": "image",
"image.NewAlpha16": "image",
"image.NewCMYK": "image",
@ -1852,6 +1955,7 @@ var stdlib = map[string]string{
"image.NewGray16": "image",
"image.NewNRGBA": "image",
"image.NewNRGBA64": "image",
"image.NewNYCbCrA": "image",
"image.NewPaletted": "image",
"image.NewRGBA": "image",
"image.NewRGBA64": "image",
@ -2549,19 +2653,19 @@ var stdlib = map[string]string{
"rand.Float32": "math/rand",
"rand.Float64": "math/rand",
// "rand.Int" is ambiguous
"rand.Int31": "math/rand",
"rand.Int31n": "math/rand",
"rand.Int63": "math/rand",
"rand.Int63n": "math/rand",
"rand.Intn": "math/rand",
"rand.New": "math/rand",
"rand.NewSource": "math/rand",
"rand.NewZipf": "math/rand",
"rand.NormFloat64": "math/rand",
"rand.Perm": "math/rand",
"rand.Prime": "crypto/rand",
"rand.Rand": "math/rand",
"rand.Read": "crypto/rand",
"rand.Int31": "math/rand",
"rand.Int31n": "math/rand",
"rand.Int63": "math/rand",
"rand.Int63n": "math/rand",
"rand.Intn": "math/rand",
"rand.New": "math/rand",
"rand.NewSource": "math/rand",
"rand.NewZipf": "math/rand",
"rand.NormFloat64": "math/rand",
"rand.Perm": "math/rand",
"rand.Prime": "crypto/rand",
"rand.Rand": "math/rand",
// "rand.Read" is ambiguous
"rand.Reader": "crypto/rand",
"rand.Seed": "math/rand",
"rand.Source": "math/rand",
@ -2837,7 +2941,9 @@ var stdlib = map[string]string{
"strconv.AppendQuote": "strconv",
"strconv.AppendQuoteRune": "strconv",
"strconv.AppendQuoteRuneToASCII": "strconv",
"strconv.AppendQuoteRuneToGraphic": "strconv",
"strconv.AppendQuoteToASCII": "strconv",
"strconv.AppendQuoteToGraphic": "strconv",
"strconv.AppendUint": "strconv",
"strconv.Atoi": "strconv",
"strconv.CanBackquote": "strconv",
@ -2848,6 +2954,7 @@ var stdlib = map[string]string{
"strconv.FormatInt": "strconv",
"strconv.FormatUint": "strconv",
"strconv.IntSize": "strconv",
"strconv.IsGraphic": "strconv",
"strconv.IsPrint": "strconv",
"strconv.Itoa": "strconv",
"strconv.NumError": "strconv",
@ -2858,7 +2965,9 @@ var stdlib = map[string]string{
"strconv.Quote": "strconv",
"strconv.QuoteRune": "strconv",
"strconv.QuoteRuneToASCII": "strconv",
"strconv.QuoteRuneToGraphic": "strconv",
"strconv.QuoteToASCII": "strconv",
"strconv.QuoteToGraphic": "strconv",
"strconv.Unquote": "strconv",
"strconv.UnquoteChar": "strconv",
"strings.Compare": "strings",
@ -8206,12 +8315,14 @@ var stdlib = map[string]string{
"template.ErrSlashAmbig": "html/template",
"template.Error": "html/template",
"template.ErrorCode": "html/template",
"template.ExecError": "text/template",
// "template.FuncMap" is ambiguous
"template.HTML": "html/template",
"template.HTMLAttr": "html/template",
// "template.HTMLEscape" is ambiguous
// "template.HTMLEscapeString" is ambiguous
// "template.HTMLEscaper" is ambiguous
// "template.IsTrue" is ambiguous
"template.JS": "html/template",
// "template.JSEscape" is ambiguous
// "template.JSEscapeString" is ambiguous
@ -8345,6 +8456,7 @@ var stdlib = map[string]string{
"tls.NewLRUClientSessionCache": "crypto/tls",
"tls.NewListener": "crypto/tls",
"tls.NoClientCert": "crypto/tls",
"tls.RecordHeaderError": "crypto/tls",
"tls.RequestClientCert": "crypto/tls",
"tls.RequireAndVerifyClientCert": "crypto/tls",
"tls.RequireAnyClientCert": "crypto/tls",
@ -8363,7 +8475,9 @@ var stdlib = map[string]string{
"tls.TLS_FALLBACK_SCSV": "crypto/tls",
"tls.TLS_RSA_WITH_3DES_EDE_CBC_SHA": "crypto/tls",
"tls.TLS_RSA_WITH_AES_128_CBC_SHA": "crypto/tls",
"tls.TLS_RSA_WITH_AES_128_GCM_SHA256": "crypto/tls",
"tls.TLS_RSA_WITH_AES_256_CBC_SHA": "crypto/tls",
"tls.TLS_RSA_WITH_AES_256_GCM_SHA384": "crypto/tls",
"tls.TLS_RSA_WITH_RC4_128_SHA": "crypto/tls",
"tls.VerifyClientCertIfGiven": "crypto/tls",
"tls.VersionSSL30": "crypto/tls",
@ -8494,7 +8608,9 @@ var stdlib = map[string]string{
"types.Id": "go/types",
"types.Identical": "go/types",
"types.Implements": "go/types",
"types.ImportMode": "go/types",
"types.Importer": "go/types",
"types.ImporterFrom": "go/types",
"types.Info": "go/types",
"types.Initializer": "go/types",
"types.Int": "go/types",
@ -8850,6 +8966,7 @@ var stdlib = map[string]string{
"unicode.Zs": "unicode",
"url.Error": "net/url",
"url.EscapeError": "net/url",
"url.InvalidHostError": "net/url",
"url.Parse": "net/url",
"url.ParseQuery": "net/url",
"url.ParseRequestURI": "net/url",
@ -8925,6 +9042,7 @@ var stdlib = map[string]string{
"x509.HostnameError": "crypto/x509",
"x509.IncompatibleUsage": "crypto/x509",
"x509.IncorrectPasswordError": "crypto/x509",
"x509.InsecureAlgorithmError": "crypto/x509",
"x509.InvalidReason": "crypto/x509",
"x509.IsEncryptedPEMBlock": "crypto/x509",
"x509.KeyUsage": "crypto/x509",