Packages
Total 663 packages, 155 of them are standard packages.
Total 2843 source files, 2783 of them are Go source files.
Total 1095479 lines of Go code.
Averagely,
- each Go source file imports 4.13 packages and contains 394 lines of code.
- each package depends 8.57 other packages and contains 4.20 source files.
net/http/h2_bundle.go
google.golang.org/grpc/server.gogolang.org/x/pkgsite/internal/frontend
Types
Total 4419 exported type names, 89 of them are aliases.
In them, 3972 are composite types and 447 are basic types.
In the basic types, 361 are integers (135 are unsigneds).
In 3067 exported struct types, 317 have embedded fields,
and 248 have promoted fields.
github.com/go-git/go-git/v5/storage/memory.Storage
github.com/go-git/go-git/v5/storage/filesystem.Storage
On average, each exported struct type has
* 4.92 fields (including promoteds and unexporteds),
* 4.46 explicit fields (including unexporteds),
* 3.22 exported fields (including promoteds),
* 3.03 exported explicit fields.
google.golang.org/genproto/googleapis/container/v1.Cluster go/build.Package cloud.google.com/go/storage.Copier
cloud.google.com/go/storage.Composer
cloud.google.com/go/storage.Writer
Averagely,
- for exported non-interface types with at least one exported
method, each of them has 6.65 exported methods.
- each exported interface type specified 4.87 exported methods.
github.com/go-redis/redis/v8.ClusterClient github.com/go-redis/redis/v8.Pipeliner
Values
Total 1526 exported variables and 8671 exported constants.
Total 4656 exported functions and 12730 exported explicit methods.
On average, each of these functions and methods has
0.83 parameters and 1.08 results. For 4410 (25%) of these
functions and methods, the last result types are error.
crypto/ed25519/internal/edwards25519.FeCombine golang.org/x/crypto/ssh.ParseKnownHosts
The pages are generated with Goldsv0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.