go/token.Position.Offset (field)

13 uses

	go/token (current package)
		position.go#L22: 	Offset   int    // offset, starting at 0
		position.go#L336: 	pos.Offset = offset

	go/ast
		commentmap.go#L178: 			qpos.Offset = infinity
		commentmap.go#L183: 		for r.end.Offset <= qpos.Offset {

	go/build
		read.go#L113: 	r.pos.Offset++
		read.go#L513: 		pos.Offset += n

	go/printer
		printer.go#L140: 			p.commentOffset = p.posFor(list[0].Pos()).Offset
		printer.go#L156: 	return p.commentOffset < next.Offset && (!p.impliedSemi || !p.commentNewline)
		printer.go#L231: 	p.pos.Offset += n
		printer.go#L263: 	p.pos.Offset += n
		printer.go#L330: 	p.pos.Offset += len(s)
		printer.go#L1321: 	p.flush(token.Position{Offset: infinity, Line: infinity}, token.EOF)