go/printer.commentInfo.commentNewline (field)
3 uses
go/printer (current package)
printer.go#L49: commentNewline bool // true if the comment group contains newlines
printer.go#L138: p.commentNewline = p.commentsHaveNewline(list)
printer.go#L153: return p.commentOffset < next.Offset && (!p.impliedSemi || !p.commentNewline)
![]() |
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. |