func go/ast.NewObj
6 uses
go/ast (current package)
resolve.go#L144: obj := NewObj(Pkg, name)
scope.go#L85: func NewObj(kind ObjKind, name string) *Object {
go/doc
doc.go#L217: pkg = ast.NewObj(ast.Pkg, path[strings.LastIndex(path, "/")+1:])
go/parser
parser.go#L122: obj := ast.NewObj(kind, ident.Name)
parser.go#L148: obj := ast.NewObj(ast.Var, ident.Name)
golang.org/x/pkgsite/internal/godoc/internal/doc
doc.go#L228: pkg = ast.NewObj(ast.Pkg, packageName(path))
![]() |
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. |