mirror of
https://github.com/golang/go
synced 2024-11-18 17:34:51 -07:00
imports: update zstdlib to Go 1.8
Change-Id: I22d9e395bb901ba0c2d949a464228b46911c9405 Reviewed-on: https://go-review.googlesource.com/37139 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
be0fcc31ae
commit
f7f4b0b08a
@ -52,6 +52,7 @@ func main() {
|
||||
mustOpen(api("go1.5.txt")),
|
||||
mustOpen(api("go1.6.txt")),
|
||||
mustOpen(api("go1.7.txt")),
|
||||
mustOpen(api("go1.8.txt")),
|
||||
)
|
||||
sc := bufio.NewScanner(f)
|
||||
fullImport := map[string]string{} // "zip.NewReader" => "archive/zip"
|
||||
|
@ -525,6 +525,7 @@ var stdlib = map[string]string{
|
||||
"doc.Filter": "go/doc",
|
||||
"doc.Func": "go/doc",
|
||||
"doc.IllegalPrefixes": "go/doc",
|
||||
"doc.IsPredeclared": "go/doc",
|
||||
"doc.Mode": "go/doc",
|
||||
"doc.New": "go/doc",
|
||||
"doc.Note": "go/doc",
|
||||
@ -546,24 +547,40 @@ var stdlib = map[string]string{
|
||||
"driver.Bool": "database/sql/driver",
|
||||
"driver.ColumnConverter": "database/sql/driver",
|
||||
"driver.Conn": "database/sql/driver",
|
||||
"driver.ConnBeginTx": "database/sql/driver",
|
||||
"driver.ConnPrepareContext": "database/sql/driver",
|
||||
"driver.DefaultParameterConverter": "database/sql/driver",
|
||||
"driver.Driver": "database/sql/driver",
|
||||
"driver.ErrBadConn": "database/sql/driver",
|
||||
"driver.ErrSkip": "database/sql/driver",
|
||||
"driver.Execer": "database/sql/driver",
|
||||
"driver.ExecerContext": "database/sql/driver",
|
||||
"driver.Int32": "database/sql/driver",
|
||||
"driver.IsScanValue": "database/sql/driver",
|
||||
"driver.IsValue": "database/sql/driver",
|
||||
"driver.IsolationLevel": "database/sql/driver",
|
||||
"driver.NamedValue": "database/sql/driver",
|
||||
"driver.NotNull": "database/sql/driver",
|
||||
"driver.Null": "database/sql/driver",
|
||||
"driver.Pinger": "database/sql/driver",
|
||||
"driver.Queryer": "database/sql/driver",
|
||||
"driver.QueryerContext": "database/sql/driver",
|
||||
"driver.Result": "database/sql/driver",
|
||||
"driver.ResultNoRows": "database/sql/driver",
|
||||
"driver.Rows": "database/sql/driver",
|
||||
"driver.RowsAffected": "database/sql/driver",
|
||||
"driver.RowsColumnTypeDatabaseTypeName": "database/sql/driver",
|
||||
"driver.RowsColumnTypeLength": "database/sql/driver",
|
||||
"driver.RowsColumnTypeNullable": "database/sql/driver",
|
||||
"driver.RowsColumnTypePrecisionScale": "database/sql/driver",
|
||||
"driver.RowsColumnTypeScanType": "database/sql/driver",
|
||||
"driver.RowsNextResultSet": "database/sql/driver",
|
||||
"driver.Stmt": "database/sql/driver",
|
||||
"driver.StmtExecContext": "database/sql/driver",
|
||||
"driver.StmtQueryContext": "database/sql/driver",
|
||||
"driver.String": "database/sql/driver",
|
||||
"driver.Tx": "database/sql/driver",
|
||||
"driver.TxOptions": "database/sql/driver",
|
||||
"driver.Value": "database/sql/driver",
|
||||
"driver.ValueConverter": "database/sql/driver",
|
||||
"driver.Valuer": "database/sql/driver",
|
||||
@ -1660,6 +1677,7 @@ var stdlib = map[string]string{
|
||||
"expvar.Float": "expvar",
|
||||
"expvar.Func": "expvar",
|
||||
"expvar.Get": "expvar",
|
||||
"expvar.Handler": "expvar",
|
||||
"expvar.Int": "expvar",
|
||||
"expvar.KeyValue": "expvar",
|
||||
"expvar.Map": "expvar",
|
||||
@ -1819,6 +1837,7 @@ var stdlib = map[string]string{
|
||||
"gzip.ErrChecksum": "compress/gzip",
|
||||
"gzip.ErrHeader": "compress/gzip",
|
||||
"gzip.Header": "compress/gzip",
|
||||
"gzip.HuffmanOnly": "compress/gzip",
|
||||
"gzip.NewReader": "compress/gzip",
|
||||
"gzip.NewWriter": "compress/gzip",
|
||||
"gzip.NewWriterLevel": "compress/gzip",
|
||||
@ -1861,6 +1880,7 @@ var stdlib = map[string]string{
|
||||
"http.DefaultTransport": "net/http",
|
||||
"http.DetectContentType": "net/http",
|
||||
"http.Dir": "net/http",
|
||||
"http.ErrAbortHandler": "net/http",
|
||||
"http.ErrBodyNotAllowed": "net/http",
|
||||
"http.ErrBodyReadAfterClose": "net/http",
|
||||
"http.ErrContentLength": "net/http",
|
||||
@ -1875,6 +1895,7 @@ var stdlib = map[string]string{
|
||||
"http.ErrNoLocation": "net/http",
|
||||
"http.ErrNotMultipart": "net/http",
|
||||
"http.ErrNotSupported": "net/http",
|
||||
"http.ErrServerClosed": "net/http",
|
||||
"http.ErrShortBody": "net/http",
|
||||
"http.ErrSkipAltProtocol": "net/http",
|
||||
"http.ErrUnexpectedTrailer": "net/http",
|
||||
@ -1909,6 +1930,7 @@ var stdlib = map[string]string{
|
||||
"http.NewFileTransport": "net/http",
|
||||
"http.NewRequest": "net/http",
|
||||
"http.NewServeMux": "net/http",
|
||||
"http.NoBody": "net/http",
|
||||
"http.NotFound": "net/http",
|
||||
"http.NotFoundHandler": "net/http",
|
||||
"http.ParseHTTPVersion": "net/http",
|
||||
@ -1918,6 +1940,8 @@ var stdlib = map[string]string{
|
||||
"http.ProtocolError": "net/http",
|
||||
"http.ProxyFromEnvironment": "net/http",
|
||||
"http.ProxyURL": "net/http",
|
||||
"http.PushOptions": "net/http",
|
||||
"http.Pusher": "net/http",
|
||||
"http.ReadRequest": "net/http",
|
||||
"http.ReadResponse": "net/http",
|
||||
"http.Redirect": "net/http",
|
||||
@ -2001,6 +2025,7 @@ var stdlib = map[string]string{
|
||||
"http.StripPrefix": "net/http",
|
||||
"http.TimeFormat": "net/http",
|
||||
"http.TimeoutHandler": "net/http",
|
||||
"http.TrailerPrefix": "net/http",
|
||||
"http.Transport": "net/http",
|
||||
"httptest.DefaultRemoteAddr": "net/http/httptest",
|
||||
"httptest.NewRecorder": "net/http/httptest",
|
||||
@ -2280,6 +2305,7 @@ var stdlib = map[string]string{
|
||||
"mail.Message": "net/mail",
|
||||
"mail.ParseAddress": "net/mail",
|
||||
"mail.ParseAddressList": "net/mail",
|
||||
"mail.ParseDate": "net/mail",
|
||||
"mail.ReadMessage": "net/mail",
|
||||
"math.Abs": "math",
|
||||
"math.Acos": "math",
|
||||
@ -2393,10 +2419,12 @@ var stdlib = map[string]string{
|
||||
"multipart.Writer": "mime/multipart",
|
||||
"net.Addr": "net",
|
||||
"net.AddrError": "net",
|
||||
"net.Buffers": "net",
|
||||
"net.CIDRMask": "net",
|
||||
"net.Conn": "net",
|
||||
"net.DNSConfigError": "net",
|
||||
"net.DNSError": "net",
|
||||
"net.DefaultResolver": "net",
|
||||
"net.Dial": "net",
|
||||
"net.DialIP": "net",
|
||||
"net.DialTCP": "net",
|
||||
@ -2473,6 +2501,7 @@ var stdlib = map[string]string{
|
||||
"net.ResolveTCPAddr": "net",
|
||||
"net.ResolveUDPAddr": "net",
|
||||
"net.ResolveUnixAddr": "net",
|
||||
"net.Resolver": "net",
|
||||
"net.SRV": "net",
|
||||
"net.SplitHostPort": "net",
|
||||
"net.TCPAddr": "net",
|
||||
@ -2493,10 +2522,12 @@ var stdlib = map[string]string{
|
||||
"os.Create": "os",
|
||||
"os.DevNull": "os",
|
||||
"os.Environ": "os",
|
||||
"os.ErrClosed": "os",
|
||||
"os.ErrExist": "os",
|
||||
"os.ErrInvalid": "os",
|
||||
"os.ErrNotExist": "os",
|
||||
"os.ErrPermission": "os",
|
||||
"os.Executable": "os",
|
||||
"os.Exit": "os",
|
||||
"os.Expand": "os",
|
||||
"os.ExpandEnv": "os",
|
||||
@ -2680,9 +2711,11 @@ var stdlib = map[string]string{
|
||||
"pe.Open": "debug/pe",
|
||||
"pe.OptionalHeader32": "debug/pe",
|
||||
"pe.OptionalHeader64": "debug/pe",
|
||||
"pe.Reloc": "debug/pe",
|
||||
"pe.Section": "debug/pe",
|
||||
"pe.SectionHeader": "debug/pe",
|
||||
"pe.SectionHeader32": "debug/pe",
|
||||
"pe.StringTable": "debug/pe",
|
||||
"pe.Symbol": "debug/pe",
|
||||
"pem.Block": "encoding/pem",
|
||||
"pem.Decode": "encoding/pem",
|
||||
@ -2709,6 +2742,9 @@ var stdlib = map[string]string{
|
||||
"plan9obj.Section": "debug/plan9obj",
|
||||
"plan9obj.SectionHeader": "debug/plan9obj",
|
||||
"plan9obj.Sym": "debug/plan9obj",
|
||||
"plugin.Open": "plugin",
|
||||
"plugin.Plugin": "plugin",
|
||||
"plugin.Symbol": "plugin",
|
||||
"png.BestCompression": "image/png",
|
||||
"png.BestSpeed": "image/png",
|
||||
"png.CompressionLevel": "image/png",
|
||||
@ -2772,7 +2808,9 @@ var stdlib = map[string]string{
|
||||
"rand.Reader": "crypto/rand",
|
||||
"rand.Seed": "math/rand",
|
||||
"rand.Source": "math/rand",
|
||||
"rand.Source64": "math/rand",
|
||||
"rand.Uint32": "math/rand",
|
||||
"rand.Uint64": "math/rand",
|
||||
"rand.Zipf": "math/rand",
|
||||
"rc4.Cipher": "crypto/rc4",
|
||||
"rc4.KeySizeError": "crypto/rc4",
|
||||
@ -2831,6 +2869,7 @@ var stdlib = map[string]string{
|
||||
"reflect.StructField": "reflect",
|
||||
"reflect.StructOf": "reflect",
|
||||
"reflect.StructTag": "reflect",
|
||||
"reflect.Swapper": "reflect",
|
||||
"reflect.TypeOf": "reflect",
|
||||
"reflect.Uint": "reflect",
|
||||
"reflect.Uint16": "reflect",
|
||||
@ -2929,6 +2968,7 @@ var stdlib = map[string]string{
|
||||
"runtime.MemProfileRate": "runtime",
|
||||
"runtime.MemProfileRecord": "runtime",
|
||||
"runtime.MemStats": "runtime",
|
||||
"runtime.MutexProfile": "runtime",
|
||||
"runtime.NumCPU": "runtime",
|
||||
"runtime.NumCgoCall": "runtime",
|
||||
"runtime.NumGoroutine": "runtime",
|
||||
@ -2938,6 +2978,7 @@ var stdlib = map[string]string{
|
||||
"runtime.SetCPUProfileRate": "runtime",
|
||||
"runtime.SetCgoTraceback": "runtime",
|
||||
"runtime.SetFinalizer": "runtime",
|
||||
"runtime.SetMutexProfileFraction": "runtime",
|
||||
"runtime.Stack": "runtime",
|
||||
"runtime.StackRecord": "runtime",
|
||||
"runtime.StartTrace": "runtime",
|
||||
@ -3021,16 +3062,31 @@ var stdlib = map[string]string{
|
||||
"sort.SearchFloat64s": "sort",
|
||||
"sort.SearchInts": "sort",
|
||||
"sort.SearchStrings": "sort",
|
||||
"sort.Slice": "sort",
|
||||
"sort.SliceIsSorted": "sort",
|
||||
"sort.SliceStable": "sort",
|
||||
"sort.Sort": "sort",
|
||||
"sort.Stable": "sort",
|
||||
"sort.StringSlice": "sort",
|
||||
"sort.Strings": "sort",
|
||||
"sort.StringsAreSorted": "sort",
|
||||
"sql.ColumnType": "database/sql",
|
||||
"sql.DB": "database/sql",
|
||||
"sql.DBStats": "database/sql",
|
||||
"sql.Drivers": "database/sql",
|
||||
"sql.ErrNoRows": "database/sql",
|
||||
"sql.ErrTxDone": "database/sql",
|
||||
"sql.IsolationLevel": "database/sql",
|
||||
"sql.LevelDefault": "database/sql",
|
||||
"sql.LevelLinearizable": "database/sql",
|
||||
"sql.LevelReadCommitted": "database/sql",
|
||||
"sql.LevelReadUncommitted": "database/sql",
|
||||
"sql.LevelRepeatableRead": "database/sql",
|
||||
"sql.LevelSerializable": "database/sql",
|
||||
"sql.LevelSnapshot": "database/sql",
|
||||
"sql.LevelWriteCommitted": "database/sql",
|
||||
"sql.Named": "database/sql",
|
||||
"sql.NamedArg": "database/sql",
|
||||
"sql.NullBool": "database/sql",
|
||||
"sql.NullFloat64": "database/sql",
|
||||
"sql.NullInt64": "database/sql",
|
||||
@ -3044,6 +3100,7 @@ var stdlib = map[string]string{
|
||||
"sql.Scanner": "database/sql",
|
||||
"sql.Stmt": "database/sql",
|
||||
"sql.Tx": "database/sql",
|
||||
"sql.TxOptions": "database/sql",
|
||||
"strconv.AppendBool": "strconv",
|
||||
"strconv.AppendFloat": "strconv",
|
||||
"strconv.AppendInt": "strconv",
|
||||
@ -4187,6 +4244,7 @@ var stdlib = map[string]string{
|
||||
"syscall.ERROR_ALREADY_EXISTS": "syscall",
|
||||
"syscall.ERROR_BROKEN_PIPE": "syscall",
|
||||
"syscall.ERROR_BUFFER_OVERFLOW": "syscall",
|
||||
"syscall.ERROR_DIR_NOT_EMPTY": "syscall",
|
||||
"syscall.ERROR_ENVVAR_NOT_FOUND": "syscall",
|
||||
"syscall.ERROR_FILE_EXISTS": "syscall",
|
||||
"syscall.ERROR_FILE_NOT_FOUND": "syscall",
|
||||
@ -8451,6 +8509,7 @@ var stdlib = map[string]string{
|
||||
"testing.BenchmarkResult": "testing",
|
||||
"testing.Cover": "testing",
|
||||
"testing.CoverBlock": "testing",
|
||||
"testing.CoverMode": "testing",
|
||||
"testing.Coverage": "testing",
|
||||
"testing.InternalBenchmark": "testing",
|
||||
"testing.InternalExample": "testing",
|
||||
@ -8543,9 +8602,11 @@ var stdlib = map[string]string{
|
||||
"time.UTC": "time",
|
||||
"time.Unix": "time",
|
||||
"time.UnixDate": "time",
|
||||
"time.Until": "time",
|
||||
"time.Wednesday": "time",
|
||||
"time.Weekday": "time",
|
||||
"tls.Certificate": "crypto/tls",
|
||||
"tls.CertificateRequestInfo": "crypto/tls",
|
||||
"tls.Client": "crypto/tls",
|
||||
"tls.ClientAuthType": "crypto/tls",
|
||||
"tls.ClientHelloInfo": "crypto/tls",
|
||||
@ -8560,11 +8621,21 @@ var stdlib = map[string]string{
|
||||
"tls.CurveP521": "crypto/tls",
|
||||
"tls.Dial": "crypto/tls",
|
||||
"tls.DialWithDialer": "crypto/tls",
|
||||
"tls.ECDSAWithP256AndSHA256": "crypto/tls",
|
||||
"tls.ECDSAWithP384AndSHA384": "crypto/tls",
|
||||
"tls.ECDSAWithP521AndSHA512": "crypto/tls",
|
||||
"tls.Listen": "crypto/tls",
|
||||
"tls.LoadX509KeyPair": "crypto/tls",
|
||||
"tls.NewLRUClientSessionCache": "crypto/tls",
|
||||
"tls.NewListener": "crypto/tls",
|
||||
"tls.NoClientCert": "crypto/tls",
|
||||
"tls.PKCS1WithSHA1": "crypto/tls",
|
||||
"tls.PKCS1WithSHA256": "crypto/tls",
|
||||
"tls.PKCS1WithSHA384": "crypto/tls",
|
||||
"tls.PKCS1WithSHA512": "crypto/tls",
|
||||
"tls.PSSWithSHA256": "crypto/tls",
|
||||
"tls.PSSWithSHA384": "crypto/tls",
|
||||
"tls.PSSWithSHA512": "crypto/tls",
|
||||
"tls.RecordHeaderError": "crypto/tls",
|
||||
"tls.RenegotiateFreelyAsClient": "crypto/tls",
|
||||
"tls.RenegotiateNever": "crypto/tls",
|
||||
@ -8574,20 +8645,26 @@ var stdlib = map[string]string{
|
||||
"tls.RequireAndVerifyClientCert": "crypto/tls",
|
||||
"tls.RequireAnyClientCert": "crypto/tls",
|
||||
"tls.Server": "crypto/tls",
|
||||
"tls.SignatureScheme": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305": "crypto/tls",
|
||||
"tls.TLS_ECDHE_ECDSA_WITH_RC4_128_SHA": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305": "crypto/tls",
|
||||
"tls.TLS_ECDHE_RSA_WITH_RC4_128_SHA": "crypto/tls",
|
||||
"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_CBC_SHA256": "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",
|
||||
@ -8597,6 +8674,7 @@ var stdlib = map[string]string{
|
||||
"tls.VersionTLS10": "crypto/tls",
|
||||
"tls.VersionTLS11": "crypto/tls",
|
||||
"tls.VersionTLS12": "crypto/tls",
|
||||
"tls.X25519": "crypto/tls",
|
||||
"tls.X509KeyPair": "crypto/tls",
|
||||
"token.ADD": "go/token",
|
||||
"token.ADD_ASSIGN": "go/token",
|
||||
@ -8711,6 +8789,7 @@ var stdlib = map[string]string{
|
||||
"types.Const": "go/types",
|
||||
"types.ConvertibleTo": "go/types",
|
||||
"types.DefPredeclaredTestFuncs": "go/types",
|
||||
"types.Default": "go/types",
|
||||
"types.Error": "go/types",
|
||||
"types.Eval": "go/types",
|
||||
"types.ExprString": "go/types",
|
||||
@ -8720,6 +8799,7 @@ var stdlib = map[string]string{
|
||||
"types.Func": "go/types",
|
||||
"types.Id": "go/types",
|
||||
"types.Identical": "go/types",
|
||||
"types.IdenticalIgnoreTags": "go/types",
|
||||
"types.Implements": "go/types",
|
||||
"types.ImportMode": "go/types",
|
||||
"types.Importer": "go/types",
|
||||
@ -9091,6 +9171,8 @@ var stdlib = map[string]string{
|
||||
"url.Parse": "net/url",
|
||||
"url.ParseQuery": "net/url",
|
||||
"url.ParseRequestURI": "net/url",
|
||||
"url.PathEscape": "net/url",
|
||||
"url.PathUnescape": "net/url",
|
||||
"url.QueryEscape": "net/url",
|
||||
"url.QueryUnescape": "net/url",
|
||||
"url.URL": "net/url",
|
||||
@ -9186,6 +9268,7 @@ var stdlib = map[string]string{
|
||||
"x509.MarshalECPrivateKey": "crypto/x509",
|
||||
"x509.MarshalPKCS1PrivateKey": "crypto/x509",
|
||||
"x509.MarshalPKIXPublicKey": "crypto/x509",
|
||||
"x509.NameMismatch": "crypto/x509",
|
||||
"x509.NewCertPool": "crypto/x509",
|
||||
"x509.NotAuthorizedToSign": "crypto/x509",
|
||||
"x509.PEMCipher": "crypto/x509",
|
||||
@ -9207,8 +9290,11 @@ var stdlib = map[string]string{
|
||||
"x509.RSA": "crypto/x509",
|
||||
"x509.SHA1WithRSA": "crypto/x509",
|
||||
"x509.SHA256WithRSA": "crypto/x509",
|
||||
"x509.SHA256WithRSAPSS": "crypto/x509",
|
||||
"x509.SHA384WithRSA": "crypto/x509",
|
||||
"x509.SHA384WithRSAPSS": "crypto/x509",
|
||||
"x509.SHA512WithRSA": "crypto/x509",
|
||||
"x509.SHA512WithRSAPSS": "crypto/x509",
|
||||
"x509.SignatureAlgorithm": "crypto/x509",
|
||||
"x509.SystemCertPool": "crypto/x509",
|
||||
"x509.SystemRootsError": "crypto/x509",
|
||||
@ -9272,6 +9358,7 @@ var stdlib = map[string]string{
|
||||
"zlib.ErrChecksum": "compress/zlib",
|
||||
"zlib.ErrDictionary": "compress/zlib",
|
||||
"zlib.ErrHeader": "compress/zlib",
|
||||
"zlib.HuffmanOnly": "compress/zlib",
|
||||
"zlib.NewReader": "compress/zlib",
|
||||
"zlib.NewReaderDict": "compress/zlib",
|
||||
"zlib.NewWriter": "compress/zlib",
|
||||
|
Loading…
Reference in New Issue
Block a user