go/ast.Comment.Slash (field)
7 uses
go/ast (current package)
ast.go#L69: Slash token.Pos // position of "/" starting the comment
ast.go#L73: func (c *Comment) Pos() token.Pos { return c.Slash }
ast.go#L74: func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) }
import.go#L230: c.Slash = pos[i].Start - 1
import.go#L236: c.Slash = pos[i].End
go/build
read.go#L500: info.directives = append(info.directives, Directive{c.Text, info.fset.Position(c.Slash)})
go/parser
parser.go#L192: comment = &ast.Comment{Slash: p.pos, Text: p.lit}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)