github.com/go-git/gcfg/scanner.Scanner.offset (field)
20 uses
github.com/go-git/gcfg/scanner (current package)
scanner.go#L46: offset int // character offset
scanner.go#L60: s.offset = s.rdOffset
scanner.go#L62: s.lineOffset = s.offset
scanner.go#L63: s.file.AddLine(s.offset)
scanner.go#L68: s.error(s.offset, "illegal character NUL")
scanner.go#L73: s.error(s.offset, "illegal UTF-8 encoding")
scanner.go#L79: s.offset = len(s.src)
scanner.go#L81: s.lineOffset = s.offset
scanner.go#L82: s.file.AddLine(s.offset)
scanner.go#L124: s.offset = 0
scanner.go#L142: offs := s.offset - 1 // position of initial [;#]
scanner.go#L147: return string(s.src[offs:s.offset])
scanner.go#L159: offs := s.offset
scanner.go#L163: return string(s.src[offs:s.offset])
scanner.go#L167: offs := s.offset
scanner.go#L185: offs := s.offset - 1
scanner.go#L201: return string(s.src[offs:s.offset])
scanner.go#L217: offs := s.offset
scanner.go#L248: end = s.offset
scanner.go#L298: pos = s.file.Pos(s.offset)
![]() |
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. |