runtime.moduledata.hasmain (field)
2 uses
runtime (current package)
symtab.go#L388: hasmain uint8 // 1 if module contains the main function, 0 otherwise
symtab.go#L488: if md.hasmain != 0 {
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)