golang.org/x/mod/modfile.Comments.Suffix (field)
20 uses
golang.org/x/mod/modfile (current package)
print.go#L159: p.comment = append(p.comment, x.Comment().Suffix...)
read.go#L60: Suffix []Comment // end-of-line comments after this expression
read.go#L230: Suffix: commentsAdd(stmt.Line[0].Suffix, stmt.Suffix),
read.go#L748: xcom.Suffix = append(xcom.Suffix, suffix[len(suffix)-1])
read.go#L757: reverseComments(x.Comment().Suffix)
rule.go#L405: if len(line.Suffix) == 0 {
rule.go#L408: f := strings.Fields(strings.TrimPrefix(line.Suffix[0].Token, string(slashSlash)))
rule.go#L419: if len(line.Suffix) == 0 {
rule.go#L421: line.Suffix = []Comment{{Token: "// indirect", Suffix: true}}
rule.go#L425: com := &line.Suffix[0]
rule.go#L439: f := strings.Fields(line.Suffix[0].Token)
rule.go#L442: line.Suffix = nil
rule.go#L447: com := &line.Suffix[0]
rule.go#L563: if block != nil && len(comments.Before) == 0 && len(comments.Suffix) == 0 {
rule.go#L566: groups := [][]Comment{comments.Before, comments.Suffix}
golang.org/x/pkgsite/internal
latest.go#L56: for _, comment := range append(mf.Module.Syntax.Before, mf.Module.Syntax.Suffix...) {
golang.org/x/pkgsite/internal/fetch
fetch.go#L357: for _, comment := range append(mf.Module.Syntax.Before, mf.Module.Syntax.Suffix...) {
 |
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. |