func strconv.Quote
17 uses
strconv (current package)
atoi.go#L34: return "strconv." + e.Func + ": " + "parsing " + Quote(e.Num) + ": " + e.Err.Error()
quote.go#L125: func Quote(s string) string {
encoding/json
decode.go#L151: return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
encode.go#L227: return "json: invalid UTF-8 in string: " + strconv.Quote(e.S)
scanner.go#L608: s := strconv.Quote(string(c))
net/netip
netip.go#L148: q := strconv.Quote
netip.go#L1111: return ipp, errors.New("invalid port " + strconv.Quote(port) + " parsing " + strconv.Quote(s))
netip.go#L1119: return AddrPort{}, errors.New("invalid ip:port " + strconv.Quote(s) + ", square brackets can only be used with IPv6 addresses")
netip.go#L1121: return AddrPort{}, errors.New("invalid ip:port " + strconv.Quote(s) + ", IPv6 addresses must be surrounded by square brackets")
netip.go#L1328: return "netip.ParsePrefix(" + strconv.Quote(err.in) + "): " + err.msg
netip.go#L1356: return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
netip.go#L1361: return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
net/url
url.go#L88: return "invalid URL escape " + strconv.Quote(string(e))
url.go#L94: return "invalid character " + strconv.Quote(string(e)) + " in host name"
reflect
type.go#L2499: repr = append(repr, (" " + strconv.Quote(f.Name.Tag()))...)
regexp
regexp.go#L333: return strconv.Quote(s)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |