func strconv.Quote
31 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#L148: return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
encode.go#L238: return "json: invalid UTF-8 in string: " + strconv.Quote(e.S)
scanner.go#L608: s := strconv.Quote(string(c))
github.com/google/go-cmp/cmp
report_reflect.go#L376: qs := strconv.Quote(s)
report_slices.go#L150: quotedLength := len(strconv.Quote(sx + sy))
go/constant
value.go#L118: s := strconv.Quote(x.string())
value.go#L248: func (x *stringVal) ExactString() string { return strconv.Quote(x.string()) }
go/printer
nodes.go#L1675: s = strconv.Quote(s)
go/types
format.go#L113: return strconv.Quote(pkg.path)
typestring.go#L182: w.string(strconv.Quote(tag))
golang.org/x/tools/go/packages
golist.go#L1043: quoted := strconv.Quote(arg)
golang.org/x/tools/internal/gocommand
invoke.go#L489: quoted := strconv.Quote(arg)
google.golang.org/protobuf/internal/descfmt
stringer.go#L354: s = strconv.Quote(v)
net/netip
netip.go#L148: q := strconv.Quote
netip.go#L1125: return ipp, errors.New("invalid port " + strconv.Quote(port) + " parsing " + strconv.Quote(s))
netip.go#L1133: return AddrPort{}, errors.New("invalid ip:port " + strconv.Quote(s) + ", square brackets can only be used with IPv6 addresses")
netip.go#L1135: return AddrPort{}, errors.New("invalid ip:port " + strconv.Quote(s) + ", IPv6 addresses must be surrounded by square brackets")
netip.go#L1357: return "netip.ParsePrefix(" + strconv.Quote(err.in) + "): " + err.msg
netip.go#L1385: return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
netip.go#L1390: return Prefix{}, parsePrefixError{in: s, msg: "bad bits after slash: " + strconv.Quote(bitsStr)}
net/url
url.go#L89: return "invalid URL escape " + strconv.Quote(string(e))
url.go#L95: return "invalid character " + strconv.Quote(string(e)) + " in host name"
os/exec
exec.go#L119: return "exec: " + strconv.Quote(e.Name) + ": " + e.Err.Error()
reflect
type.go#L2331: repr = append(repr, (" " + strconv.Quote(f.Name.Tag()))...)
regexp
regexp.go#L333: return strconv.Quote(s)
runtime/debug
mod.go#L139: key = strconv.Quote(key)
mod.go#L143: value = strconv.Quote(value)
text/template/parse
node.go#L997: sb.WriteString(strconv.Quote(t.Name))