google.golang.org/protobuf/internal/encoding/json.Decoder.currPos (method)
9 uses
google.golang.org/protobuf/internal/encoding/json (current package)
decode.go#L111: return Token{}, d.newSyntaxError(d.currPos(), `unexpected character %s, missing ":" after field name`, string(c))
decode.go#L212: return Token{}, d.newSyntaxError(d.currPos(), "invalid value %s", errRegexp.Find(in))
decode.go#L236: func (d *Decoder) currPos() int {
decode_string.go#L22: return "", 0, d.newSyntaxError(d.currPos(), "invalid character %q at start of string", in[0])
decode_string.go#L30: return "", 0, d.newSyntaxError(d.currPos(), "invalid UTF-8 in string")
decode_string.go#L32: return "", 0, d.newSyntaxError(d.currPos(), "invalid character %q in string", r)
decode_string.go#L60: return "", 0, d.newSyntaxError(d.currPos(), "invalid escape code %q in string", in[:6])
decode_string.go#L73: return "", 0, d.newSyntaxError(d.currPos(), "invalid escape code %q in string", in[:6])
decode_string.go#L79: return "", 0, d.newSyntaxError(d.currPos(), "invalid escape code %q in string", in[:2])
 |
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. |