func fmt.Sprintf

161 uses

	fmt (current package)
		print.go#L237: func Sprintf(format string, a ...any) string {

	crypto/tls
		cipher_suites.go#L111: 	return fmt.Sprintf("0x%04X", id)
		common.go#L58: 		return fmt.Sprintf("0x%04X", version)
		common.go#L937: 			panic(fmt.Sprintf("tls: unable to generate random session ticket key: %v", err))
		common.go#L999: 			panic(fmt.Sprintf("unable to generate random session ticket key: %v", err))
		common.go#L1639: 	return fmt.Sprintf("tls: failed to verify certificate: %s", e.Err)
		conn.go#L663: 		msg := fmt.Sprintf("received record with version %x when expecting version %x", vers, expectedVers)
		conn.go#L677: 		msg := fmt.Sprintf("oversized record received with length %d", n)
		quic.go#L35: 		return fmt.Sprintf("QUICEncryptionLevel(%v)", int(l))

	crypto/x509
		verify.go#L152: 		s += fmt.Sprintf(" (possibly because of %q while trying to verify candidate authority certificate %q)", e.hintErr, certName)
		verify.go#L532: 			return CertificateInvalidError{c, CANotAuthorizedForThisName, fmt.Sprintf("%s %q is excluded by constraint %q", nameType, name, constraint)}
		verify.go#L558: 		return CertificateInvalidError{c, CANotAuthorizedForThisName, fmt.Sprintf("%s %q is not permitted by any constraint", nameType, name)}
		verify.go#L586: 			Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
		verify.go#L592: 			Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
		x509.go#L813: 	return fmt.Sprintf("x509: cannot verify signature: insecure algorithm %v", SignatureAlgorithm(e)) + override

	database/sql/driver
		types.go#L150: 	return fmt.Sprintf("%v", v), nil

	encoding/asn1
		asn1.go#L786: 		err = StructuralError{fmt.Sprintf("unknown Go type: %v", fieldType)}
		asn1.go#L845: 			err = StructuralError{fmt.Sprintf("tags don't match (%d vs %+v) %+v %s @%d", expectedTag, t, params, fieldType.Name(), offset)}
		asn1.go#L983: 			err = SyntaxError{fmt.Sprintf("internal error: unknown string type %d", universalTag)}
		marshal.go#L623: 		return nil, StructuralError{fmt.Sprintf("unknown Go type: %v", v.Type())}

	encoding/hex
		hex.go#L73: 	return fmt.Sprintf("encoding/hex: invalid byte: %#U", rune(e))

	encoding/json
		encode.go#L743: 			e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
		encode.go#L826: 			e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
		encode.go#L882: 			e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})

	github.com/coinbase/cdp-sdk/go
		cdp.go#L73: 		req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", jwt))

	github.com/coinbase/cdp-sdk/go/auth
		jwt.go#L38: 	uri := fmt.Sprintf("%s %s%s", options.RequestMethod, options.RequestHost, options.RequestPath)
		jwt.go#L62: 	uri := fmt.Sprintf("%s %s%s", options.RequestMethod, options.RequestHost, options.RequestPath)

	github.com/coinbase/cdp-sdk/go/openapi
		client.gen.go#L1015: 	operationPath := fmt.Sprintf("/v2/evm/accounts")
		client.gen.go#L1091: 	operationPath := fmt.Sprintf("/v2/evm/accounts")
		client.gen.go#L1153: 	operationPath := fmt.Sprintf("/v2/evm/accounts/by-name/%s", pathParam0)
		client.gen.go#L1187: 	operationPath := fmt.Sprintf("/v2/evm/accounts/%s", pathParam0)
		client.gen.go#L1232: 	operationPath := fmt.Sprintf("/v2/evm/accounts/%s/sign", pathParam0)
		client.gen.go#L1305: 	operationPath := fmt.Sprintf("/v2/evm/accounts/%s/sign/message", pathParam0)
		client.gen.go#L1378: 	operationPath := fmt.Sprintf("/v2/evm/accounts/%s/sign/transaction", pathParam0)
		client.gen.go#L1444: 	operationPath := fmt.Sprintf("/v2/evm/faucet")
		client.gen.go#L1473: 	operationPath := fmt.Sprintf("/v2/evm/smart-accounts")
		client.gen.go#L1549: 	operationPath := fmt.Sprintf("/v2/evm/smart-accounts")
		client.gen.go#L1585: 	operationPath := fmt.Sprintf("/v2/evm/smart-accounts/%s", pathParam0)
		client.gen.go#L1630: 	operationPath := fmt.Sprintf("/v2/evm/smart-accounts/%s/user-operations", pathParam0)
		client.gen.go#L1673: 	operationPath := fmt.Sprintf("/v2/evm/smart-accounts/%s/user-operations/%s", pathParam0, pathParam1)
		client.gen.go#L1725: 	operationPath := fmt.Sprintf("/v2/evm/smart-accounts/%s/user-operations/%s/send", pathParam0, pathParam1)
		client.gen.go#L1754: 	operationPath := fmt.Sprintf("/v2/solana/accounts")
		client.gen.go#L1830: 	operationPath := fmt.Sprintf("/v2/solana/accounts")
		client.gen.go#L1892: 	operationPath := fmt.Sprintf("/v2/solana/accounts/by-name/%s", pathParam0)
		client.gen.go#L1926: 	operationPath := fmt.Sprintf("/v2/solana/accounts/%s", pathParam0)
		client.gen.go#L1971: 	operationPath := fmt.Sprintf("/v2/solana/accounts/%s/sign/message", pathParam0)
		client.gen.go#L2044: 	operationPath := fmt.Sprintf("/v2/solana/accounts/%s/sign/transaction", pathParam0)
		client.gen.go#L2110: 	operationPath := fmt.Sprintf("/v2/solana/faucet")

	github.com/golang-jwt/jwt/v5
		map_claims.go#L64: 	return nil, newError(fmt.Sprintf("%s is invalid", key), ErrInvalidType)
		map_claims.go#L80: 				return nil, newError(fmt.Sprintf("%s is invalid", key), ErrInvalidType)
		map_claims.go#L105: 		return "", newError(fmt.Sprintf("%s is invalid", key), ErrInvalidType)
		parser.go#L75: 			return token, newError(fmt.Sprintf("signing method %v is invalid", alg), ErrTokenSignatureInvalid)
		validator.go#L312: 		return newError(fmt.Sprintf("%s claim is required", claim), ErrTokenRequiredClaimMissing)

	github.com/google/uuid
		dce.go#L79: 	return fmt.Sprintf("Domain%d", int(d))
		uuid.go#L50: 	return fmt.Sprintf("invalid UUID length: %d", err.len)
		uuid.go#L292: 		return fmt.Sprintf("BAD_VERSION_%d", v)
		uuid.go#L294: 	return fmt.Sprintf("VERSION_%d", v)
		uuid.go#L310: 	return fmt.Sprintf("BadVariant%d", int(v))

	github.com/oapi-codegen/runtime
		bindform.go#L156: 				if _, err := bindFormImpl(result.Index(i), form, files, fmt.Sprintf("%s[%v]", name, i)); err != nil {
		bindform.go#L190: 			fieldHasData, err := bindFormImpl(v.Field(i), form, files, fmt.Sprintf("%s[%s]", name, tag))
		bindform.go#L258: 			ptrHasData, err := bindFormImpl(value, form, files, fmt.Sprintf("%s[%s]", name, key))
		bindform.go#L275: 			ptrHasData, err := bindFormImpl(value, form, files, fmt.Sprintf("%s[%s]", name, key))
		bindform.go#L296: 			marshalFormImpl(elem, result, fmt.Sprintf("%s[%v]", name, i))
		bindform.go#L305: 					marshalFormImpl(iter.Value(), result, fmt.Sprintf("%s[%s]", name, iter.Key().String()))
		bindform.go#L313: 			marshalFormImpl(v.Field(i), result, fmt.Sprintf("%s[%s]", name, tag))
		deepobject.go#L58: 			prefix + fmt.Sprintf("=%v", t),
		styleparam.go#L128: 		prefix = fmt.Sprintf(";%s=", paramName)
		styleparam.go#L135: 		prefix = fmt.Sprintf("%s=", paramName)
		styleparam.go#L142: 		prefix = fmt.Sprintf("%s=", paramName)
		styleparam.go#L149: 		prefix = fmt.Sprintf("%s=", paramName)
		styleparam.go#L347: 			prefix = fmt.Sprintf(";%s=", paramName)
		styleparam.go#L353: 			prefix = fmt.Sprintf("%s=", paramName)
		styleparam.go#L363: 				part := fmt.Sprintf("%s[%s]=%s", paramName, k, v)
		styleparam.go#L387: 		prefix = fmt.Sprintf(";%s=", paramName)
		styleparam.go#L389: 		prefix = fmt.Sprintf("%s=", paramName)

	log
		log.go#L289: 	l.Output(2, fmt.Sprintf(format, v...))
		log.go#L308: 	s := fmt.Sprintf(format, v...)
		log.go#L418: 	std.Output(2, fmt.Sprintf(format, v...))
		log.go#L437: 	s := fmt.Sprintf(format, v...)

	math/big
		float.go#L382: 		return fmt.Sprintf("msb not set in last word %#x of %s", x.mant[m-1], x.Text('p', 0))
		int.go#L934: 		panic(fmt.Sprintf("big: invalid 2nd argument to Int.Jacobi: need odd integer but got %s", y.String()))
		natconv.go#L114: 		panic(fmt.Sprintf("invalid number base %d", base))
		rat.go#L138: 		panic(fmt.Sprintf("expected exactly %d bits of result", Msize2))
		rat.go#L236: 		panic(fmt.Sprintf("expected exactly %d bits of result", Msize2))

	mime
		mediatype.go#L206: 			simplePart := fmt.Sprintf("%s*%d", key, n)

	mime/multipart
		writer.go#L90: 	return fmt.Sprintf("%x", buf[:])
		writer.go#L143: 		fmt.Sprintf(`form-data; name="%s"; filename="%s"`,
		writer.go#L154: 		fmt.Sprintf(`form-data; name="%s"`, escapeQuotes(fieldname)))

	net/http
		filetransport.go#L130: 	pr.res.Status = fmt.Sprintf("%d %s", code, StatusText(code))
		fs.go#L326: 		w.Header().Set("Content-Range", fmt.Sprintf("bytes */%d", size))
		fs.go#L995: 	return fmt.Sprintf("bytes %d-%d/%d", r.start, r.start+r.length-1, size)
		h2_bundle.go#L1084: 		panic(fmt.Sprintf("unexpected buffer len=%v", len(p)))
		h2_bundle.go#L1217: 	return fmt.Sprintf("unknown error code 0x%x", uint32(e))
		h2_bundle.go#L1224: 	return fmt.Sprintf("ERR_UNKNOWN_%d", uint32(e))
		h2_bundle.go#L1232: 	return fmt.Sprintf("connection error: %s", http2ErrCode(e))
		h2_bundle.go#L1254: 		return fmt.Sprintf("stream error: stream ID %d; %v; %v", e.StreamID, e.Code, e.Cause)
		h2_bundle.go#L1256: 	return fmt.Sprintf("stream error: stream ID %d; %v", e.StreamID, e.Code)
		h2_bundle.go#L1281: 	return fmt.Sprintf("http2: connection error: %v: %v", e.Code, e.Reason)
		h2_bundle.go#L1287: 	return fmt.Sprintf("invalid pseudo-header %q", string(e))
		h2_bundle.go#L1293: 	return fmt.Sprintf("duplicate pseudo-header %q", string(e))
		h2_bundle.go#L1299: 	return fmt.Sprintf("invalid header field name %q", string(e))
		h2_bundle.go#L1305: 	return fmt.Sprintf("invalid header field value for %q", string(e))
		h2_bundle.go#L1464: 	return fmt.Sprintf("UNKNOWN_FRAME_TYPE_%d", uint8(t))
		h2_bundle.go#L1962: 				fmt.Sprintf("got %s for stream %d; expected CONTINUATION following %s for stream %d",
		h2_bundle.go#L1968: 				fmt.Sprintf("got CONTINUATION for stream %d; expected stream %d",
		h2_bundle.go#L1972: 		return fr.connError(http2ErrCodeProtocol, fmt.Sprintf("unexpected CONTINUATION for stream %d", fh.StreamID))
		h2_bundle.go#L2580: 		return nil, http2connError{http2ErrCodeFrameSize, fmt.Sprintf("PRIORITY frame payload size was %d; want 5", len(payload))}
		h2_bundle.go#L3141: 		panic(fmt.Sprintf("No space found in %q", b))
		h2_bundle.go#L3146: 		panic(fmt.Sprintf("Failed to parse goroutine ID out of %q: %v", b, err))
		h2_bundle.go#L3437: 	return fmt.Sprintf("[%v = %d]", s.ID, s.Val)
		h2_bundle.go#L3486: 	return fmt.Sprintf("UNKNOWN_SETTING_%d", uint16(s))
		h2_bundle.go#L4376: 			sc.rejectConn(http2ErrCodeInadequateSecurity, fmt.Sprintf("Prohibited TLS 1.2 Cipher Suite: %x", sc.tlsState.CipherSuite))
		h2_bundle.go#L4868: 				panic(fmt.Sprintf("unexpected type %T", v))
		h2_bundle.go#L5108: 				panic(fmt.Sprintf("internal error: attempt to send frame on a half-closed-local stream: %v", wr))
		h2_bundle.go#L5111: 			panic(fmt.Sprintf("internal error: attempt to send frame on a closed stream: %v", wr))
		h2_bundle.go#L5502: 		panic(fmt.Sprintf("invariant; can't close stream in state %v", st.state))
		h2_bundle.go#L6766: 		panic(fmt.Sprintf("invalid WriteHeader code %v", code))
		h2_bundle.go#L7051: 			panic(fmt.Sprintf("newWriterAndRequestNoBody(%+v): %v", msg.url, err))
		h2_bundle.go#L7159: 	f(fmt.Sprintf("%s_%s_%s", typ, codeStr, name))
		h2_bundle.go#L9091: 			return fmt.Sprintf("name %q", k)
		h2_bundle.go#L9097: 				return fmt.Sprintf("value for header %q", k)
		h2_bundle.go#L9409: 	return fmt.Sprintf("http2: server sent GOAWAY and closed the connection; LastStreamID=%v, ErrCode=%v, debug=%q",
		h2_bundle.go#L9469: 		f(fmt.Sprintf("read_frame_conn_error_%s", errCode.stringToken()))
		h2_bundle.go#L10566: 	return fmt.Sprintf("writeData(stream=%d, p=%d, endStream=%v)", w.streamID, len(w.p), w.endStream)
		h2_bundle.go#L10992: 		des = fmt.Sprintf("%T", wr.write)
		h2_bundle.go#L10994: 	return fmt.Sprintf("[FrameWriteRequest stream=%d, ch=%v, writer=%v]", wr.StreamID(), wr.done != nil, des)
		h2_bundle.go#L11006: 		panic(fmt.Sprintf("unbuffered done channel passed in for type %T", wr.write))
		h2_bundle.go#L11331: 			panic(fmt.Sprintf("stream %d already opened", streamID))
		h2_bundle.go#L11363: 		panic(fmt.Sprintf("violation of WriteScheduler interface: unknown stream %d", streamID))
		h2_bundle.go#L11366: 		panic(fmt.Sprintf("violation of WriteScheduler interface: stream %d already closed", streamID))
		pattern.go#L380: 		panic(fmt.Sprintf("unknown relationship %q", r1))
		pattern.go#L411: 		return fmt.Sprintf("%s matches the same requests as %s", p1, p2)
		pattern.go#L417: 		return fmt.Sprintf(`%[1]s and %[2]s both match some paths, like %[3]q.
		pattern.go#L424: 		return fmt.Sprintf("%s matches more methods than %s, but has a more specific path pattern", p1, p2)
		pattern.go#L427: 		return fmt.Sprintf("%s matches fewer methods than %s, but has a more general path pattern", p1, p2)
		pattern.go#L429: 	return fmt.Sprintf("bug: unexpected way for two patterns %s and %s to conflict: methods %s, paths %s", p1, p2, mrel, prel)
		pattern.go#L519: 				panic(fmt.Sprintf("literals differ: %q and %q", s1.s, s2.s))
		request.go#L474: 	s := fmt.Sprintf("%s=%s", sanitizeCookieName(c.Name), sanitizeCookieValue(c.Value, c.Quoted))
		server.go#L1170: 		panic(fmt.Sprintf("invalid WriteHeader code %v", code))
		server.go#L2192: 		panic("unexpected type " + fmt.Sprintf("%T", rc))
		server.go#L2208: 		panic("unexpected type " + fmt.Sprintf("%T", rc))
		server.go#L2823: 		pat.loc = fmt.Sprintf("%s:%d", file, line)
		server.go#L3838: 		name: fmt.Sprintf("%s-%d", baseName, uniqNameNext[baseName]),
		transfer.go#L647: 		return &unsupportedTEError{fmt.Sprintf("too many transfer encodings: %q", raw)}
		transfer.go#L650: 		return &unsupportedTEError{fmt.Sprintf("unsupported transfer encoding: %q", raw[0])}
		transport.go#L516: 			return fmt.Sprintf("field name %q", k)
		transport.go#L522: 				return fmt.Sprintf("field value for %q", k)
		transport.go#L979: 	return fmt.Sprintf("net/http: Transport failed to read from server: %v", e.err)
		transport.go#L1990: 	return fmt.Sprintf("%s|%s%s|%s", k.proxy, k.scheme, h1, k.addr)
		transport.go#L2739: 			panic(fmt.Sprintf("internal error: exactly one of res or err should be set; nil=%v", re.res == nil))

	net/textproto
		reader.go#L606: 		return ProtocolError(fmt.Sprintf("malformed MIME header: missing colon: %q", line))
		textproto.go#L41: 	return fmt.Sprintf("%03d %s", e.Code, e.Msg)

	net/url
		url.go#L31: func (e *Error) Error() string { return fmt.Sprintf("%s %q: %s", e.Op, e.URL, e.Err) }

	vendor/golang.org/x/net/http2/hpack
		hpack.go#L23: 	return fmt.Sprintf("decoding error: %v", de.Err)
		hpack.go#L31: 	return fmt.Sprintf("invalid indexed representation index %d", int(e))
		hpack.go#L57: 	return fmt.Sprintf("header field %q = %q%s", hf.Name, hf.Value, suffix)
		tables.go#L66: 		panic(fmt.Sprintf("evictOldest(%v) on table with %v entries", n, t.len()))
		tables.go#L118: 		panic(fmt.Sprintf("id (%v) <= evictCount (%v)", id, t.evictCount))

	vendor/golang.org/x/net/idna
		idna10.0.0.go#L324: 	return fmt.Sprintf("idna: invalid label %q", e.label)
		idna10.0.0.go#L331: 	return fmt.Sprintf("idna: disallowed rune %U", e)

	vendor/golang.org/x/text/unicode/bidi
		bracket.go#L57: 	return fmt.Sprintf("(%v, %v)", b.opener, b.closer)