type github.com/go-git/gcfg/token.Pos
13 uses
github.com/go-git/gcfg/token (current package)
position.go#L73: type Pos int
position.go#L80: const NoPos Pos = 0
position.go#L83: func (p Pos) IsValid() bool {
position.go#L213: func (f *File) Pos(offset int) Pos {
position.go#L217: return Pos(f.base + offset)
position.go#L224: func (f *File) Offset(p Pos) int {
position.go#L234: func (f *File) Line(p Pos) int {
position.go#L262: func (f *File) position(p Pos) (pos Position) {
position.go#L272: func (f *File) Position(p Pos) (pos Position) {
position.go#L369: func (s *FileSet) file(p Pos) *File {
position.go#L390: func (s *FileSet) File(p Pos) (f *File) {
position.go#L400: func (s *FileSet) Position(p Pos) (pos Position) {
github.com/go-git/gcfg/scanner
scanner.go#L293: func (s *Scanner) Scan() (pos token.Pos, tok token.Token, lit 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. |