text/template/parse.lexer.line (field)
9 uses
text/template/parse (current package)
lex.go#L120: line int // 1+number of newlines seen
lex.go#L134: l.line++
lex.go#L151: l.line--
lex.go#L159: l.startLine = l.line
lex.go#L164: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L166: l.startLine = l.line
lex.go#L220: line: 1,
lex.go#L256: l.line += strings.Count(l.input[l.start:l.pos], "\n")
lex.go#L266: l.line += strings.Count(l.input[l.start:l.pos], "\n")
![]() |
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. |