func strconv.Quote
20 uses
strconv (current package)
atoi.go#L31: return "strconv." + e.Func + ": " + "parsing " + Quote(e.Num) + ": " + e.Err.Error()
quote.go#L124: 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/private/protocol
jsonvalue.go#L38: return strconv.Quote(string(b)), nil
github.com/google/go-cmp/cmp
report_reflect.go#L362: qs := strconv.Quote(s)
github.com/jmespath/go-jmespath
api.go#L30: panic(`jmespath: Compile(` + strconv.Quote(expression) + `): ` + err.Error())
go.opencensus.io/resource
resource.go#L55: s += k + "=" + strconv.Quote(labels[k])
go/doc
example.go#L346: s := &ast.ImportSpec{Path: &ast.BasicLit{Value: strconv.Quote(p)}}
go/printer
nodes.go#L1546: s = strconv.Quote(s)
golang.org/x/mod/modfile
rule.go#L489: return strconv.Quote(s)
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L484: Path: &ast.BasicLit{Value: strconv.Quote(p), Kind: token.STRING, ValuePos: pos},
google.golang.org/protobuf/internal/descfmt
stringer.go#L256: s = strconv.Quote(v)
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#L2561: repr = append(repr, (" " + strconv.Quote(f.name.tag()))...)
regexp
regexp.go#L331: return strconv.Quote(s)
text/template/parse
node.go#L958: sb.WriteString(strconv.Quote(t.Name))
![]() |
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. |