go/ast.CommentGroup.Text (method)
22 uses
go/ast (current package)
ast.go#L99: func (g *CommentGroup) Text() string {
import.go#L80: return c.Text()
go/build
build.go#L893: p.Doc = doc.Synopsis(pf.Doc.Text())
build.go#L1622: text := cg.Text()
go/doc
example.go#L82: doc = f.Doc.Text()
example.go#L119: text := last.Text()
example.go#L387: if len(comments) > 0 && strings.HasPrefix(comments[0].Text(), "Copyright") {
example.go#L417: if last == nil || !outputPrefix.MatchString(last.Text()) {
reader.go#L64: Doc: f.Doc.Text(),
reader.go#L219: text := comment.Text()
reader.go#L301: Doc: decl.Doc.Text(),
reader.go#L355: typ.doc = doc.Text()
reader.go#L451: text := (&ast.CommentGroup{List: list}).Text()
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L82: doc = f.Doc.Text()
example.go#L119: text := last.Text()
example.go#L504: if len(comments) > 0 && strings.HasPrefix(comments[0].Text(), "Copyright") {
example.go#L534: if last == nil || !outputPrefix.MatchString(last.Text()) {
reader.go#L63: text := f.Doc.Text()
reader.go#L221: text := comment.Text()
reader.go#L302: text := decl.Doc.Text()
reader.go#L359: typ.doc = doc.Text()
reader.go#L455: text := (&ast.CommentGroup{List: list}).Text()
![]() |
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. |