go/build.Package.ImportComment (field)
5 uses
go/build (current package)
build.go#L397: ImportComment string // path in import comment on package statement
build.go#L902: } else if p.ImportComment == "" {
build.go#L903: p.ImportComment = com
build.go#L905: } else if p.ImportComment != com {
build.go#L906: badFile(fmt.Errorf("found import comments %q (%s) and %q (%s) in %s", p.ImportComment, firstCommentFile, com, name, p.Dir))
 |
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. |