func go/ast.NewIdent
16 uses
go/ast (current package)
ast.go#L568: func NewIdent(name string) *Ident { return &Ident{token.NoPos, name, nil} }
filter.go#L496: return &File{doc, pos, NewIdent(pkg.Name), decls, pkg.Scope, imports, nil, comments}
go/doc
example.go#L348: s.Name = ast.NewIdent(n)
example.go#L356: Name: ast.NewIdent("main"),
example.go#L376: Name: ast.NewIdent("main"),
example.go#L397: newF.Name = ast.NewIdent("main")
example.go#L406: f.Name = ast.NewIdent("main")
exports.go#L28: var underscore = ast.NewIdent("_")
exports.go#L245: Sel: ast.NewIdent(typ.Sel.Name),
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L277: Name: ast.NewIdent("main"),
example.go#L297: Name: ast.NewIdent("main"),
example.go#L488: s.Name = ast.NewIdent(n)
example.go#L514: newF.Name = ast.NewIdent("main")
example.go#L523: f.Name = ast.NewIdent("main")
exports.go#L28: var underscore = ast.NewIdent("_")
exports.go#L245: Sel: ast.NewIdent(typ.Sel.Name),
 |
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. |