golang.org/x/mod/modfile.input.pos (field)
14 uses
golang.org/x/mod/modfile (current package)
read.go#L329: pos Position // current input position
read.go#L346: pos: Position{Line: 1, LineRune: 1, Byte: 0},
read.go#L361: Pos: in.pos,
read.go#L392: Pos: in.pos,
read.go#L432: in.pos.Line++
read.go#L433: in.pos.LineRune = 1
read.go#L435: in.pos.LineRune++
read.go#L437: in.pos.Byte += size
read.go#L475: in.token.pos = in.pos
read.go#L492: in.token.endPos = in.pos
read.go#L524: i := bytes.LastIndex(in.complete[:in.pos.Byte], []byte("\n"))
read.go#L525: suffix := len(bytes.TrimSpace(in.complete[i+1:in.pos.Byte])) > 0
read.go#L576: in.pos = in.token.pos
read.go#L588: in.pos = in.token.pos
![]() |
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. |