func strconv.Quote
35 uses
strconv (current package)
atoi.go#L31: return "strconv." + e.Func + ": " + "parsing " + Quote(e.Num) + ": " + e.Err.Error()
quote.go#L128: func Quote(s string) string {
encoding/json
decode.go#L150: return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
encode.go#L261: return "json: invalid UTF-8 in string: " + strconv.Quote(e.S)
scanner.go#L606: s := strconv.Quote(string(c))
github.com/aws/aws-sdk-go-v2/service/s3
serializers.go#L3594: escaped = strconv.Quote(string(v.ObjectAttributes[i]))
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#L119: s := strconv.Quote(x.string())
value.go#L243: func (x *stringVal) ExactString() string { return strconv.Quote(x.string()) }
go/doc
example.go#L349: s := &ast.ImportSpec{Path: &ast.BasicLit{Value: strconv.Quote(p)}}
go/printer
nodes.go#L1607: s = strconv.Quote(s)
go/types
errors.go#L39: return strconv.Quote(pkg.path)
typestring.go#L171: w.string(strconv.Quote(tag))
golang.org/x/tools/go/packages
golist.go#L1165: quoted := strconv.Quote(arg)
golang.org/x/tools/internal/gocommand
invoke.go#L348: quoted := strconv.Quote(arg)
google.golang.org/protobuf/internal/descfmt
stringer.go#L258: s = strconv.Quote(v)
net/netip
netip.go#L153: q := strconv.Quote
netip.go#L1090: return ipp, errors.New("invalid port " + strconv.Quote(port) + " parsing " + strconv.Quote(s))
netip.go#L1098: return AddrPort{}, errors.New("invalid ip:port " + strconv.Quote(s) + ", square brackets can only be used with IPv6 addresses")
netip.go#L1100: return AddrPort{}, errors.New("invalid ip:port " + strconv.Quote(s) + ", IPv6 addresses must be surrounded by square brackets")
netip.go#L1298: return Prefix{}, errors.New("netip.ParsePrefix(" + strconv.Quote(s) + "): no '/'")
netip.go#L1302: return Prefix{}, errors.New("netip.ParsePrefix(" + strconv.Quote(s) + "): " + err.Error())
netip.go#L1307: return Prefix{}, errors.New("netip.ParsePrefix(" + strconv.Quote(s) + ": bad bits after slash: " + strconv.Quote(bitsStr))
netip.go#L1314: return Prefix{}, errors.New("netip.ParsePrefix(" + strconv.Quote(s) + ": prefix length out of range")
net/url
url.go#L86: return "invalid URL escape " + strconv.Quote(string(e))
url.go#L92: return "invalid character " + strconv.Quote(string(e)) + " in host name"
os/exec
exec.go#L48: return "exec: " + strconv.Quote(e.Name) + ": " + e.Err.Error()
reflect
type.go#L2624: repr = append(repr, (" " + strconv.Quote(f.name.tag()))...)
regexp
regexp.go#L337: return strconv.Quote(s)
runtime/debug
mod.go#L109: key = strconv.Quote(key)
mod.go#L113: value = strconv.Quote(value)
text/template/parse
node.go#L994: sb.WriteString(strconv.Quote(t.Name))