func fmt.Fprintf
52 uses
fmt (current package)
print.go#L222: func Fprintf(w io.Writer, format string, a ...any) (n int, err error) {
print.go#L233: return Fprintf(os.Stdout, format, a...)
flag
flag.go#L611: fmt.Fprintf(&b, " -%s", flag.Name) // Two spaces before -; see next two comments.
flag.go#L635: fmt.Fprintf(&b, " (default %q)", flag.DefValue)
flag.go#L637: fmt.Fprintf(&b, " (default %v)", flag.DefValue)
flag.go#L686: fmt.Fprintf(f.Output(), "Usage:\n")
flag.go#L688: fmt.Fprintf(f.Output(), "Usage of %s:\n", f.name)
flag.go#L707: fmt.Fprintf(CommandLine.Output(), "Usage of %s:\n", os.Args[0])
github.com/go-faster/errors
adaptor.go#L119: _, _ = fmt.Fprintf(s, string(format), p.buf.String())
adaptor.go#L186: _, _ = fmt.Fprintf((*state)(s), format, args...)
github.com/go-faster/jx
num.go#L138: fmt.Fprintf(f, "%%!invalid(Num=%s)", n.String())
num.go#L146: fmt.Fprintf(f, "%%!invalid(Num=%s)", n.String())
go.uber.org/zap
http_handler.go#L74: fmt.Fprintf(w, "internal error: %v", err)
logger.go#L398: fmt.Fprintf(log.errorOutput, "%v Logger.check error: failed to get caller\n", ent.Time.UTC())
options.go#L128: fmt.Fprintf(log.errorOutput, "failed to IncreaseLevel: %v\n", err)
go.uber.org/zap/zapcore
entry.go#L244: fmt.Fprintf(ce.ErrorOutput, "%v Unsafe CheckedEntry re-use near Entry %+v.\n", ce.Time, ce.Entry)
entry.go#L256: fmt.Fprintf(ce.ErrorOutput, "%v write error: %v\n", ce.Time, err)
math/big
ftoa.go#L486: fmt.Fprintf(s, "%%!%c(*big.Float=%s)", format, x.String())
intconv.go#L80: fmt.Fprintf(s, "%%!%c(big.Int=%s)", ch, x.String())
mime/multipart
writer.go#L105: fmt.Fprintf(&b, "\r\n--%s\r\n", w.boundary)
writer.go#L107: fmt.Fprintf(&b, "--%s\r\n", w.boundary)
writer.go#L117: fmt.Fprintf(&b, "%s: %s\r\n", k, v)
writer.go#L120: fmt.Fprintf(&b, "\r\n")
writer.go#L177: _, err := fmt.Fprintf(w.w, "\r\n--%s--\r\n", w.boundary)
net/http
fs.go#L154: fmt.Fprintf(w, "<pre>\n")
fs.go#L164: fmt.Fprintf(w, "<a href=\"%s\">%s</a>\n", url.String(), htmlReplacer.Replace(name))
fs.go#L166: fmt.Fprintf(w, "</pre>\n")
h2_bundle.go#L1599: fmt.Fprintf(buf, "0x%x", 1<<i)
h2_bundle.go#L1604: fmt.Fprintf(buf, " stream=%d", h.StreamID)
h2_bundle.go#L1606: fmt.Fprintf(buf, " len=%d", h.Length)
h2_bundle.go#L3029: fmt.Fprintf(&buf, " %v=%v,", s.ID, s.Val)
h2_bundle.go#L3041: fmt.Fprintf(&buf, " data=%q", data)
h2_bundle.go#L3043: fmt.Fprintf(&buf, " (%d bytes omitted)", len(f.Data())-max)
h2_bundle.go#L3049: fmt.Fprintf(&buf, " incr=%v", f.Increment)
h2_bundle.go#L3051: fmt.Fprintf(&buf, " ping=%q", f.Data[:])
h2_bundle.go#L3053: fmt.Fprintf(&buf, " LastStreamID=%v ErrCode=%v Debug=%q",
h2_bundle.go#L3056: fmt.Fprintf(&buf, " ErrCode=%v", f.ErrCode)
request.go#L651: _, err = fmt.Fprintf(w, "%s %s HTTP/1.1\r\n", valueOrDefault(r.Method, "GET"), ruri)
request.go#L657: _, err = fmt.Fprintf(w, "Host: %s\r\n", host)
request.go#L672: _, err = fmt.Fprintf(w, "User-Agent: %s\r\n", userAgent)
response.go#L259: if _, err := fmt.Fprintf(w, "HTTP/%d.%d %03d %s\r\n", r.ProtoMajor, r.ProtoMinor, r.StatusCode, text); err != nil {
server.go#L382: _, err = fmt.Fprintf(cw.res.conn.bufw, "%x\r\n", len(p))
server.go#L1558: fmt.Fprintf(bw, "%03d status code %d\r\n", code, code)
server.go#L1950: fmt.Fprintf(c.rwc, "HTTP/1.1 "+publicErr+errorHeaders+publicErr)
server.go#L1963: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s%sUnsupported transfer encoding", code, StatusText(code), errorHeaders)
server.go#L1971: fmt.Fprintf(c.rwc, "HTTP/1.1 %d %s: %s%s%d %s: %s", v.code, StatusText(v.code), v.text, errorHeaders, v.code, StatusText(v.code), v.text)
server.go#L1975: fmt.Fprintf(c.rwc, "HTTP/1.1 "+publicErr+errorHeaders+publicErr)
net/http/internal
chunked.go#L232: if _, err = fmt.Fprintf(cw.Wire, "%x\r\n", len(data)); err != nil {
net/textproto
writer.go#L31: fmt.Fprintf(w.W, format, args...)
runtime/debug
mod.go#L107: fmt.Fprintf(buf, "go\t%s\n", bi.GoVersion)
mod.go#L110: fmt.Fprintf(buf, "path\t%s\n", bi.Path)
mod.go#L143: fmt.Fprintf(buf, "build\t%s=%s\n", key, value)
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |