go/build.Package.Name (field)
6 uses
go/build (current package)
build.go#L396: Name string // package name
build.go#L464: return p.Name == "main"
build.go#L880: if p.Name == "" {
build.go#L881: p.Name = pkg
build.go#L883: } else if pkg != p.Name {
build.go#L886: Packages: []string{p.Name, pkg},
![]() |
The pages are generated with Golds v0.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. |