go/ast.ImportSpec.Comment (field)
10 uses
go/ast (current package)
ast.go#L902: Comment *CommentGroup // line comments; or nil
import.go#L87: c := s.(*ImportSpec).Comment
import.go#L99: return prev.(*ImportSpec).Comment == nil
walk.go#L283: if n.Comment != nil {
walk.go#L284: Walk(v, n.Comment)
go/doc
example.go#L537: if imp.Comment != nil {
example.go#L538: prevEnd = imp.Comment.End()
go/parser
parser.go#L2522: Comment: comment,
go/printer
nodes.go#L1694: p.setComment(s.Comment)
printer.go#L1074: return n.Comment
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)