golang.org/x/pkgsite/internal.UnitMeta.IsPackage (method)
10 uses
golang.org/x/pkgsite/internal (current package)
discovery.go#L159: if u.IsPackage() {
unit.go#L27: func (um *UnitMeta) IsPackage() bool {
unit.go#L33: return um.IsPackage() && um.Name == "main"
golang.org/x/pkgsite/internal/frontend
header.go#L33: case um.IsPackage():
header.go#L51: if um.IsPackage() {
header.go#L69: } else if um.IsPackage() {
header.go#L75: if !um.IsPackage() && !um.IsModule() {
main.go#L218: IsPackage: unit.IsPackage(),
unit.go#L252: if !um.IsPackage() && (tab == tabImports || tab == tabImportedBy) {
golang.org/x/pkgsite/internal/postgres
unit.go#L540: if um.IsPackage() && doc.Source != nil {
![]() |
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. |