go/ast.File.Pos (method)
4 uses
go/ast (current package)
ast.go#L1044: func (f *File) Pos() token.Pos { return f.Package }
go/doc
doc.go#L185: f := fset.File(files[i].Pos())
go/printer
nodes.go#L1840: p.print(src.Pos(), token.PACKAGE, blank)
golang.org/x/pkgsite/internal/godoc/internal/doc
doc.go#L197: f := fset.File(files[i].Pos())
![]() |
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. |