From 3efe8159876755856cf225556dd83eabb56c215c Mon Sep 17 00:00:00 2001 From: Michael Henriksen Date: Tue, 15 Aug 2023 12:11:30 +0200 Subject: [PATCH] Update standard packages (#119) Co-authored-by: Michael Henriksen --- pkg/std/package_list.go | 138 ++++++++++++++++++++++++++-------------- 1 file changed, 90 insertions(+), 48 deletions(-) diff --git a/pkg/std/package_list.go b/pkg/std/package_list.go index 73e0cbb..cdee053 100644 --- a/pkg/std/package_list.go +++ b/pkg/std/package_list.go @@ -3,34 +3,41 @@ package std // StdPackages is a set of go libs var StdPackages = map[string]struct{}{ - "archive/tar": {}, - "archive/zip": {}, - "bufio": {}, - "bytes": {}, - "compress/bzip2": {}, - "compress/flate": {}, - "compress/gzip": {}, - "compress/lzw": {}, - "compress/zlib": {}, - "container/heap": {}, - "container/list": {}, - "container/ring": {}, - "context": {}, - "crypto": {}, - "crypto/aes": {}, - "crypto/cipher": {}, - "crypto/des": {}, - "crypto/dsa": {}, - "crypto/ecdsa": {}, - "crypto/ed25519": {}, - "crypto/ed25519/internal/edwards25519": {}, - "crypto/ed25519/internal/edwards25519/field": {}, + "archive/tar": {}, + "archive/zip": {}, + "bufio": {}, + "bytes": {}, + "cmp": {}, + "compress/bzip2": {}, + "compress/flate": {}, + "compress/gzip": {}, + "compress/lzw": {}, + "compress/zlib": {}, + "container/heap": {}, + "container/list": {}, + "container/ring": {}, + "context": {}, + "crypto": {}, + "crypto/aes": {}, + "crypto/cipher": {}, + "crypto/des": {}, + "crypto/dsa": {}, + "crypto/ecdh": {}, + "crypto/ecdsa": {}, + "crypto/ed25519": {}, "crypto/elliptic": {}, - "crypto/elliptic/internal/fiat": {}, - "crypto/elliptic/internal/nistec": {}, "crypto/hmac": {}, + "crypto/internal/alias": {}, + "crypto/internal/bigmod": {}, + "crypto/internal/boring": {}, + "crypto/internal/boring/bbig": {}, + "crypto/internal/boring/bcache": {}, + "crypto/internal/boring/sig": {}, + "crypto/internal/edwards25519": {}, + "crypto/internal/edwards25519/field": {}, + "crypto/internal/nistec": {}, + "crypto/internal/nistec/fiat": {}, "crypto/internal/randutil": {}, - "crypto/internal/subtle": {}, "crypto/md5": {}, "crypto/rand": {}, "crypto/rc4": {}, @@ -75,6 +82,7 @@ var StdPackages = map[string]struct{}{ "go/build/constraint": {}, "go/constant": {}, "go/doc": {}, + "go/doc/comment": {}, "go/format": {}, "go/importer": {}, "go/internal/gccgoimporter": {}, @@ -104,15 +112,33 @@ var StdPackages = map[string]struct{}{ "image/png": {}, "index/suffixarray": {}, "internal/abi": {}, + "internal/bisect": {}, "internal/buildcfg": {}, "internal/bytealg": {}, "internal/cfg": {}, + "internal/coverage": {}, + "internal/coverage/calloc": {}, + "internal/coverage/cformat": {}, + "internal/coverage/cmerge": {}, + "internal/coverage/decodecounter": {}, + "internal/coverage/decodemeta": {}, + "internal/coverage/encodecounter": {}, + "internal/coverage/encodemeta": {}, + "internal/coverage/pods": {}, + "internal/coverage/rtcov": {}, + "internal/coverage/slicereader": {}, + "internal/coverage/slicewriter": {}, + "internal/coverage/stringtab": {}, + "internal/coverage/test": {}, + "internal/coverage/uleb128": {}, "internal/cpu": {}, - "internal/execabs": {}, + "internal/dag": {}, + "internal/diff": {}, "internal/fmtsort": {}, "internal/fuzz": {}, "internal/goarch": {}, "internal/godebug": {}, + "internal/godebugs": {}, "internal/goexperiment": {}, "internal/goos": {}, "internal/goroot": {}, @@ -124,24 +150,39 @@ var StdPackages = map[string]struct{}{ "internal/nettrace": {}, "internal/obscuretestdata": {}, "internal/oserror": {}, + "internal/pkgbits": {}, + "internal/platform": {}, "internal/poll": {}, "internal/profile": {}, "internal/race": {}, "internal/reflectlite": {}, + "internal/safefilepath": {}, + "internal/saferio": {}, "internal/singleflight": {}, "internal/syscall/execenv": {}, "internal/syscall/unix": {}, "internal/sysinfo": {}, "internal/testenv": {}, "internal/testlog": {}, + "internal/testpty": {}, "internal/trace": {}, + "internal/txtar": {}, + "internal/types/errors": {}, "internal/unsafeheader": {}, "internal/xcoff": {}, + "internal/zstd": {}, "io": {}, "io/fs": {}, "io/ioutil": {}, "log": {}, + "log/internal": {}, + "log/slog": {}, + "log/slog/internal": {}, + "log/slog/internal/benchmarks": {}, + "log/slog/internal/buffer": {}, + "log/slog/internal/slogtest": {}, "log/syslog": {}, + "maps": {}, "math": {}, "math/big": {}, "math/bits": {}, @@ -174,7 +215,6 @@ var StdPackages = map[string]struct{}{ "os/exec": {}, "os/exec/internal/fdtest": {}, "os/signal": {}, - "os/signal/internal/pty": {}, "os/user": {}, "path": {}, "path/filepath": {}, @@ -186,14 +226,17 @@ var StdPackages = map[string]struct{}{ "regexp/syntax": {}, "runtime": {}, "runtime/cgo": {}, + "runtime/coverage": {}, "runtime/debug": {}, "runtime/internal/atomic": {}, "runtime/internal/math": {}, "runtime/internal/sys": {}, + "runtime/internal/wasitest": {}, "runtime/metrics": {}, "runtime/pprof": {}, "runtime/race": {}, "runtime/trace": {}, + "slices": {}, "sort": {}, "strconv": {}, "strings": {}, @@ -205,6 +248,7 @@ var StdPackages = map[string]struct{}{ "testing/internal/testdeps": {}, "testing/iotest": {}, "testing/quick": {}, + "testing/slogtest": {}, "text/scanner": {}, "text/tabwriter": {}, "text/template": {}, @@ -216,25 +260,23 @@ var StdPackages = map[string]struct{}{ "unicode/utf8": {}, "unsafe": {}, "vendor/golang.org/x/crypto/chacha20": {}, - "vendor/golang.org/x/crypto/chacha20poly1305": {}, - "vendor/golang.org/x/crypto/cryptobyte": {}, - "vendor/golang.org/x/crypto/cryptobyte/asn1": {}, - "vendor/golang.org/x/crypto/curve25519": {}, - "vendor/golang.org/x/crypto/curve25519/internal/field": {}, - "vendor/golang.org/x/crypto/hkdf": {}, - "vendor/golang.org/x/crypto/internal/poly1305": {}, - "vendor/golang.org/x/crypto/internal/subtle": {}, - "vendor/golang.org/x/net/dns/dnsmessage": {}, - "vendor/golang.org/x/net/http/httpguts": {}, - "vendor/golang.org/x/net/http/httpproxy": {}, - "vendor/golang.org/x/net/http2/hpack": {}, - "vendor/golang.org/x/net/idna": {}, - "vendor/golang.org/x/net/nettest": {}, - "vendor/golang.org/x/net/route": {}, - "vendor/golang.org/x/sys/cpu": {}, - "vendor/golang.org/x/text/secure/bidirule": {}, - "vendor/golang.org/x/text/transform": {}, - "vendor/golang.org/x/text/unicode/bidi": {}, - "vendor/golang.org/x/text/unicode/norm": {}, - "syscall/js": {}, + "vendor/golang.org/x/crypto/chacha20poly1305": {}, + "vendor/golang.org/x/crypto/cryptobyte": {}, + "vendor/golang.org/x/crypto/cryptobyte/asn1": {}, + "vendor/golang.org/x/crypto/hkdf": {}, + "vendor/golang.org/x/crypto/internal/alias": {}, + "vendor/golang.org/x/crypto/internal/poly1305": {}, + "vendor/golang.org/x/net/dns/dnsmessage": {}, + "vendor/golang.org/x/net/http/httpguts": {}, + "vendor/golang.org/x/net/http/httpproxy": {}, + "vendor/golang.org/x/net/http2/hpack": {}, + "vendor/golang.org/x/net/idna": {}, + "vendor/golang.org/x/net/nettest": {}, + "vendor/golang.org/x/net/route": {}, + "vendor/golang.org/x/sys/cpu": {}, + "vendor/golang.org/x/text/secure/bidirule": {}, + "vendor/golang.org/x/text/transform": {}, + "vendor/golang.org/x/text/unicode/bidi": {}, + "vendor/golang.org/x/text/unicode/norm": {}, + "syscall/js": {}, }