go/ast.FuncDecl.Doc (field)

13 uses

	go/ast (current package)
		ast.go#L993: 		Doc  *CommentGroup // associated documentation; or nil
		filter.go#L420: 							if decls[j] != nil && decls[j].(*FuncDecl).Doc == nil {
		walk.go#L349: 		if n.Doc != nil {
		walk.go#L350: 			Walk(v, n.Doc)

	go/doc
		example.go#L81: 			if f.Doc != nil {
		example.go#L82: 				doc = f.Doc.Text()
		example.go#L336: 			if d.Doc != nil {
		example.go#L337: 				comments = append(comments, d.Doc)
		reader.go#L90: 		Doc:  f.Doc.Text(),
		reader.go#L97: 		f.Doc = nil // doc consumed - remove from AST

	go/parser
		parser.go#L2798: 		Doc:  doc,

	go/printer
		nodes.go#L1833: 	p.setComment(d.Doc)
		printer.go#L1049: 		return n.Doc