mirror of
https://github.com/golang/go
synced 2024-11-18 15:34:53 -07:00
imports: update zstdlib to Go 1.9
We're at beta 2 already, so the API is likely stable. If anything gets rolled back, we can update imports again. Change-Id: I87e0adde062e45cab16e2bee2f929c1ac1bb828d Reviewed-on: https://go-review.googlesource.com/49150 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
41b76ca51c
commit
478150226d
@ -53,6 +53,7 @@ func main() {
|
||||
mustOpen(api("go1.6.txt")),
|
||||
mustOpen(api("go1.7.txt")),
|
||||
mustOpen(api("go1.8.txt")),
|
||||
mustOpen(api("go1.9.txt")),
|
||||
)
|
||||
sc := bufio.NewScanner(f)
|
||||
fullImport := map[string]string{} // "zip.NewReader" => "archive/zip"
|
||||
|
@ -23,6 +23,8 @@ var stdlib = map[string]string{
|
||||
"asn1.Enumerated": "encoding/asn1",
|
||||
"asn1.Flag": "encoding/asn1",
|
||||
"asn1.Marshal": "encoding/asn1",
|
||||
"asn1.NullBytes": "encoding/asn1",
|
||||
"asn1.NullRawValue": "encoding/asn1",
|
||||
"asn1.ObjectIdentifier": "encoding/asn1",
|
||||
"asn1.RawContent": "encoding/asn1",
|
||||
"asn1.RawValue": "encoding/asn1",
|
||||
@ -35,6 +37,7 @@ var stdlib = map[string]string{
|
||||
"asn1.TagGeneralizedTime": "encoding/asn1",
|
||||
"asn1.TagIA5String": "encoding/asn1",
|
||||
"asn1.TagInteger": "encoding/asn1",
|
||||
"asn1.TagNull": "encoding/asn1",
|
||||
"asn1.TagOID": "encoding/asn1",
|
||||
"asn1.TagOctetString": "encoding/asn1",
|
||||
"asn1.TagPrintableString": "encoding/asn1",
|
||||
@ -177,7 +180,9 @@ var stdlib = map[string]string{
|
||||
"base32.NewDecoder": "encoding/base32",
|
||||
"base32.NewEncoder": "encoding/base32",
|
||||
"base32.NewEncoding": "encoding/base32",
|
||||
"base32.NoPadding": "encoding/base32",
|
||||
"base32.StdEncoding": "encoding/base32",
|
||||
"base32.StdPadding": "encoding/base32",
|
||||
"base64.CorruptInputError": "encoding/base64",
|
||||
"base64.Encoding": "encoding/base64",
|
||||
"base64.NewDecoder": "encoding/base64",
|
||||
@ -229,6 +234,41 @@ var stdlib = map[string]string{
|
||||
"binary.Uvarint": "encoding/binary",
|
||||
"binary.Varint": "encoding/binary",
|
||||
"binary.Write": "encoding/binary",
|
||||
"bits.LeadingZeros": "math/bits",
|
||||
"bits.LeadingZeros16": "math/bits",
|
||||
"bits.LeadingZeros32": "math/bits",
|
||||
"bits.LeadingZeros64": "math/bits",
|
||||
"bits.LeadingZeros8": "math/bits",
|
||||
"bits.Len": "math/bits",
|
||||
"bits.Len16": "math/bits",
|
||||
"bits.Len32": "math/bits",
|
||||
"bits.Len64": "math/bits",
|
||||
"bits.Len8": "math/bits",
|
||||
"bits.OnesCount": "math/bits",
|
||||
"bits.OnesCount16": "math/bits",
|
||||
"bits.OnesCount32": "math/bits",
|
||||
"bits.OnesCount64": "math/bits",
|
||||
"bits.OnesCount8": "math/bits",
|
||||
"bits.Reverse": "math/bits",
|
||||
"bits.Reverse16": "math/bits",
|
||||
"bits.Reverse32": "math/bits",
|
||||
"bits.Reverse64": "math/bits",
|
||||
"bits.Reverse8": "math/bits",
|
||||
"bits.ReverseBytes": "math/bits",
|
||||
"bits.ReverseBytes16": "math/bits",
|
||||
"bits.ReverseBytes32": "math/bits",
|
||||
"bits.ReverseBytes64": "math/bits",
|
||||
"bits.RotateLeft": "math/bits",
|
||||
"bits.RotateLeft16": "math/bits",
|
||||
"bits.RotateLeft32": "math/bits",
|
||||
"bits.RotateLeft64": "math/bits",
|
||||
"bits.RotateLeft8": "math/bits",
|
||||
"bits.TrailingZeros": "math/bits",
|
||||
"bits.TrailingZeros16": "math/bits",
|
||||
"bits.TrailingZeros32": "math/bits",
|
||||
"bits.TrailingZeros64": "math/bits",
|
||||
"bits.TrailingZeros8": "math/bits",
|
||||
"bits.UintSize": "math/bits",
|
||||
"bufio.ErrAdvanceTooFar": "bufio",
|
||||
"bufio.ErrBufferFull": "bufio",
|
||||
"bufio.ErrFinalToken": "bufio",
|
||||
@ -471,6 +511,10 @@ var stdlib = map[string]string{
|
||||
"crc64.Size": "hash/crc64",
|
||||
"crc64.Table": "hash/crc64",
|
||||
"crc64.Update": "hash/crc64",
|
||||
"crypto.BLAKE2b_256": "crypto",
|
||||
"crypto.BLAKE2b_384": "crypto",
|
||||
"crypto.BLAKE2b_512": "crypto",
|
||||
"crypto.BLAKE2s_256": "crypto",
|
||||
"crypto.Decrypter": "crypto",
|
||||
"crypto.DecrypterOpts": "crypto",
|
||||
"crypto.Hash": "crypto",
|
||||
@ -552,6 +596,7 @@ var stdlib = map[string]string{
|
||||
"driver.DefaultParameterConverter": "database/sql/driver",
|
||||
"driver.Driver": "database/sql/driver",
|
||||
"driver.ErrBadConn": "database/sql/driver",
|
||||
"driver.ErrRemoveArgument": "database/sql/driver",
|
||||
"driver.ErrSkip": "database/sql/driver",
|
||||
"driver.Execer": "database/sql/driver",
|
||||
"driver.ExecerContext": "database/sql/driver",
|
||||
@ -560,6 +605,7 @@ var stdlib = map[string]string{
|
||||
"driver.IsValue": "database/sql/driver",
|
||||
"driver.IsolationLevel": "database/sql/driver",
|
||||
"driver.NamedValue": "database/sql/driver",
|
||||
"driver.NamedValueChecker": "database/sql/driver",
|
||||
"driver.NotNull": "database/sql/driver",
|
||||
"driver.Null": "database/sql/driver",
|
||||
"driver.Pinger": "database/sql/driver",
|
||||
@ -1690,6 +1736,7 @@ var stdlib = map[string]string{
|
||||
"expvar.Var": "expvar",
|
||||
"fcgi.ErrConnClosed": "net/http/fcgi",
|
||||
"fcgi.ErrRequestAborted": "net/http/fcgi",
|
||||
"fcgi.ProcessEnv": "net/http/fcgi",
|
||||
"fcgi.Serve": "net/http/fcgi",
|
||||
"filepath.Abs": "path/filepath",
|
||||
"filepath.Base": "path/filepath",
|
||||
@ -1796,6 +1843,8 @@ var stdlib = map[string]string{
|
||||
"fmt.Sscanln": "fmt",
|
||||
"fmt.State": "fmt",
|
||||
"fmt.Stringer": "fmt",
|
||||
"fnv.New128": "hash/fnv",
|
||||
"fnv.New128a": "hash/fnv",
|
||||
"fnv.New32": "hash/fnv",
|
||||
"fnv.New32a": "hash/fnv",
|
||||
"fnv.New64": "hash/fnv",
|
||||
@ -1954,6 +2003,7 @@ var stdlib = map[string]string{
|
||||
"http.ServeContent": "net/http",
|
||||
"http.ServeFile": "net/http",
|
||||
"http.ServeMux": "net/http",
|
||||
"http.ServeTLS": "net/http",
|
||||
"http.Server": "net/http",
|
||||
"http.ServerContextKey": "net/http",
|
||||
"http.SetCookie": "net/http",
|
||||
@ -2205,6 +2255,7 @@ var stdlib = map[string]string{
|
||||
"json.Unmarshaler": "encoding/json",
|
||||
"json.UnsupportedTypeError": "encoding/json",
|
||||
"json.UnsupportedValueError": "encoding/json",
|
||||
"json.Valid": "encoding/json",
|
||||
"jsonrpc.Dial": "net/rpc/jsonrpc",
|
||||
"jsonrpc.NewClient": "net/rpc/jsonrpc",
|
||||
"jsonrpc.NewClientCodec": "net/rpc/jsonrpc",
|
||||
@ -2402,6 +2453,7 @@ var stdlib = map[string]string{
|
||||
"md5.Sum": "crypto/md5",
|
||||
"mime.AddExtensionType": "mime",
|
||||
"mime.BEncoding": "mime",
|
||||
"mime.ErrInvalidMediaParameter": "mime",
|
||||
"mime.ExtensionsByType": "mime",
|
||||
"mime.FormatMediaType": "mime",
|
||||
"mime.ParseMediaType": "mime",
|
||||
@ -2409,6 +2461,7 @@ var stdlib = map[string]string{
|
||||
"mime.TypeByExtension": "mime",
|
||||
"mime.WordDecoder": "mime",
|
||||
"mime.WordEncoder": "mime",
|
||||
"multipart.ErrMessageTooLarge": "mime/multipart",
|
||||
"multipart.File": "mime/multipart",
|
||||
"multipart.FileHeader": "mime/multipart",
|
||||
"multipart.Form": "mime/multipart",
|
||||
@ -2753,20 +2806,29 @@ var stdlib = map[string]string{
|
||||
"png.DefaultCompression": "image/png",
|
||||
"png.Encode": "image/png",
|
||||
"png.Encoder": "image/png",
|
||||
"png.EncoderBuffer": "image/png",
|
||||
"png.EncoderBufferPool": "image/png",
|
||||
"png.FormatError": "image/png",
|
||||
"png.NoCompression": "image/png",
|
||||
"png.UnsupportedError": "image/png",
|
||||
"pprof.Cmdline": "net/http/pprof",
|
||||
"pprof.Do": "runtime/pprof",
|
||||
"pprof.ForLabels": "runtime/pprof",
|
||||
"pprof.Handler": "net/http/pprof",
|
||||
"pprof.Index": "net/http/pprof",
|
||||
"pprof.Label": "runtime/pprof",
|
||||
"pprof.LabelSet": "runtime/pprof",
|
||||
"pprof.Labels": "runtime/pprof",
|
||||
"pprof.Lookup": "runtime/pprof",
|
||||
"pprof.NewProfile": "runtime/pprof",
|
||||
// "pprof.Profile" is ambiguous
|
||||
"pprof.Profiles": "runtime/pprof",
|
||||
"pprof.SetGoroutineLabels": "runtime/pprof",
|
||||
"pprof.StartCPUProfile": "runtime/pprof",
|
||||
"pprof.StopCPUProfile": "runtime/pprof",
|
||||
"pprof.Symbol": "net/http/pprof",
|
||||
"pprof.Trace": "net/http/pprof",
|
||||
"pprof.WithLabels": "runtime/pprof",
|
||||
"pprof.WriteHeapProfile": "runtime/pprof",
|
||||
"printer.CommentedNode": "go/printer",
|
||||
"printer.Config": "go/printer",
|
||||
@ -2844,6 +2906,7 @@ var stdlib = map[string]string{
|
||||
"reflect.MakeChan": "reflect",
|
||||
"reflect.MakeFunc": "reflect",
|
||||
"reflect.MakeMap": "reflect",
|
||||
"reflect.MakeMapWithSize": "reflect",
|
||||
"reflect.MakeSlice": "reflect",
|
||||
"reflect.Map": "reflect",
|
||||
"reflect.MapOf": "reflect",
|
||||
@ -3071,9 +3134,11 @@ var stdlib = map[string]string{
|
||||
"sort.Strings": "sort",
|
||||
"sort.StringsAreSorted": "sort",
|
||||
"sql.ColumnType": "database/sql",
|
||||
"sql.Conn": "database/sql",
|
||||
"sql.DB": "database/sql",
|
||||
"sql.DBStats": "database/sql",
|
||||
"sql.Drivers": "database/sql",
|
||||
"sql.ErrConnDone": "database/sql",
|
||||
"sql.ErrNoRows": "database/sql",
|
||||
"sql.ErrTxDone": "database/sql",
|
||||
"sql.IsolationLevel": "database/sql",
|
||||
@ -3092,6 +3157,7 @@ var stdlib = map[string]string{
|
||||
"sql.NullInt64": "database/sql",
|
||||
"sql.NullString": "database/sql",
|
||||
"sql.Open": "database/sql",
|
||||
"sql.Out": "database/sql",
|
||||
"sql.RawBytes": "database/sql",
|
||||
"sql.Register": "database/sql",
|
||||
"sql.Result": "database/sql",
|
||||
@ -3193,6 +3259,7 @@ var stdlib = map[string]string{
|
||||
"suffixarray.New": "index/suffixarray",
|
||||
"sync.Cond": "sync",
|
||||
"sync.Locker": "sync",
|
||||
"sync.Map": "sync",
|
||||
"sync.Mutex": "sync",
|
||||
"sync.NewCond": "sync",
|
||||
"sync.Once": "sync",
|
||||
@ -3772,6 +3839,7 @@ var stdlib = map[string]string{
|
||||
"syscall.Cmsghdr": "syscall",
|
||||
"syscall.CommandLineToArgv": "syscall",
|
||||
"syscall.ComputerName": "syscall",
|
||||
"syscall.Conn": "syscall",
|
||||
"syscall.Connect": "syscall",
|
||||
"syscall.ConnectEx": "syscall",
|
||||
"syscall.ConvertSidToStringSid": "syscall",
|
||||
@ -6581,6 +6649,7 @@ var stdlib = map[string]string{
|
||||
"syscall.RUSAGE_SELF": "syscall",
|
||||
"syscall.RUSAGE_THREAD": "syscall",
|
||||
"syscall.Radvisory_t": "syscall",
|
||||
"syscall.RawConn": "syscall",
|
||||
"syscall.RawSockaddr": "syscall",
|
||||
"syscall.RawSockaddrAny": "syscall",
|
||||
"syscall.RawSockaddrDatalink": "syscall",
|
||||
@ -8357,6 +8426,7 @@ var stdlib = map[string]string{
|
||||
"syscall.WSADESCRIPTION_LEN": "syscall",
|
||||
"syscall.WSAData": "syscall",
|
||||
"syscall.WSAEACCES": "syscall",
|
||||
"syscall.WSAECONNABORTED": "syscall",
|
||||
"syscall.WSAECONNRESET": "syscall",
|
||||
"syscall.WSAEnumProtocols": "syscall",
|
||||
"syscall.WSAID_CONNECTEX": "syscall",
|
||||
@ -8478,6 +8548,7 @@ var stdlib = map[string]string{
|
||||
"template.ErrOutputContext": "html/template",
|
||||
"template.ErrPartialCharset": "html/template",
|
||||
"template.ErrPartialEscape": "html/template",
|
||||
"template.ErrPredefinedEscaper": "html/template",
|
||||
"template.ErrRangeLoopReentry": "html/template",
|
||||
"template.ErrSlashAmbig": "html/template",
|
||||
"template.Error": "html/template",
|
||||
@ -8871,6 +8942,7 @@ var stdlib = map[string]string{
|
||||
"types.SendRecv": "go/types",
|
||||
"types.Signature": "go/types",
|
||||
"types.Sizes": "go/types",
|
||||
"types.SizesFor": "go/types",
|
||||
"types.Slice": "go/types",
|
||||
"types.StdSizes": "go/types",
|
||||
"types.String": "go/types",
|
||||
|
Loading…
Reference in New Issue
Block a user