go/ast.Field.Tag (field)
14 uses
go/ast (current package)
ast.go#L201: Tag *BasicLit // field tag; or nil
ast.go#L213: if f.Tag != nil {
ast.go#L214: return f.Tag.End()
walk.go#L75: if n.Tag != nil {
walk.go#L76: Walk(v, n.Tag)
go/parser
parser.go#L750: field := &ast.Field{Doc: doc, Names: idents, Type: typ, Tag: tag, Comment: p.lineComment}
go/printer
nodes.go#L422: if f.Tag != nil || f.Comment != nil {
nodes.go#L515: if f.Tag != nil {
nodes.go#L520: p.expr(f.Tag)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1351: if x.Tag != nil {
encode_ast.gen.go#L1353: encode_ast_BasicLit(e, x.Tag)
encode_ast.gen.go#L1386: decode_ast_BasicLit(d, &x.Tag)
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L528: if n.Tag != nil {
linkify.go#L529: v.rewriteLongValue(n.Tag, &n.Comment)
![]() |
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. |