go/scanner.Scanner.lineOffset (field)
5 uses
go/scanner (current package)
scanner.go#L44: lineOffset int // current line offset
scanner.go#L60: s.lineOffset = s.offset
scanner.go#L81: s.lineOffset = s.offset
scanner.go#L136: s.lineOffset = 0
scanner.go#L213: if next >= 0 /* implies valid comment */ && (lit[1] == '*' || offs == s.lineOffset) && bytes.HasPrefix(lit[2:], prefix) {
![]() |
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. |