type github.com/go-git/gcfg/token.Position
11 uses
github.com/go-git/gcfg/token (current package)
position.go#L22: type Position struct {
position.go#L30: func (pos *Position) IsValid() bool { return pos.Line > 0 }
position.go#L39: func (pos Position) String() string {
position.go#L262: func (f *File) position(p Pos) (pos Position) {
position.go#L272: func (f *File) Position(p Pos) (pos Position) {
position.go#L400: func (s *FileSet) Position(p Pos) (pos Position) {
github.com/go-git/gcfg
read.go#L56: s.Init(file, src, func(p token.Position, m string) { errs.Add(p, m) }, 0)
github.com/go-git/gcfg/scanner
errors.go#L23: Pos token.Position
errors.go#L43: func (p *ErrorList) Add(pos token.Position, msg string) {
errors.go#L77: var last token.Position // initial last.Line is != any legal error line
scanner.go#L30: type ErrorHandler func(pos token.Position, msg string)
![]() |
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. |