go/ast.ImportSpec.EndPos (field)
9 uses
go/ast (current package)
ast.go#L883: EndPos token.Pos // end of spec (overrides Path.Pos if nonzero)
ast.go#L919: if s.EndPos != 0 {
ast.go#L920: return s.EndPos
import.go#L209: s.EndPos = pos[i].End
go/printer
nodes.go#L1567: p.print(s.EndPos)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1958: if x.EndPos != 0 {
encode_ast.gen.go#L1960: e.EncodeInt(int64(x.EndPos))
encode_ast.gen.go#L1991: x.EndPos = token.Pos(d.DecodeInt())
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L485: EndPos: 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. |