const go/token.IMPORT
13 uses
go/token (current package)
token.go#L114: IMPORT
token.go#L215: IMPORT: "import",
go/ast
import.go#L18: if !ok || d.Tok != token.IMPORT {
go/doc
example.go#L57: if g, ok := decl.(*ast.GenDecl); ok && g.Tok != token.IMPORT {
example.go#L341: Tok: token.IMPORT,
reader.go#L510: case token.IMPORT:
go/format
format.go#L122: if !ok || d.Tok != token.IMPORT {
go/parser
parser.go#L2554: for p.tok == token.IMPORT {
parser.go#L2555: decls = append(decls, p.parseGenDecl(token.IMPORT, p.parseImportSpec))
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
synopsis.go#L47: case token.IMPORT:
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L57: if g, ok := decl.(*ast.GenDecl); ok && g.Tok != token.IMPORT {
example.go#L461: Tok: token.IMPORT,
reader.go#L514: case token.IMPORT:
![]() |
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. |