go/ast.StructType.Struct (field)
6 uses
go/ast (current package)
ast.go#L430: Struct token.Pos // position of "struct" keyword
ast.go#L491: func (x *StructType) Pos() token.Pos { return x.Struct }
go/parser
parser.go#L775: Struct: pos,
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2954: if x.Struct != 0 {
encode_ast.gen.go#L2956: e.EncodeInt(int64(x.Struct))
encode_ast.gen.go#L2987: x.Struct = token.Pos(d.DecodeInt())
![]() |
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. |