func io.WriteString
42 uses
io (current package)
io.go#L310: func WriteString(w Writer, s string) (n int, err error) {
compress/gzip
gzip.go#L126: _, err = io.WriteString(z.w, s)
crypto/tls
auth.go#L85: io.WriteString(b, context)
auth.go#L91: io.WriteString(h, context)
go.pact.im/x/goupdate
htmlgen.go#L452: _, err := io.WriteString(g.w, s)
go.pact.im/x/httpdebug
httpdebug.go#L47: _, _ = io.WriteString(w, modinfo)
httpdebug.go#L55: _, _ = io.WriteString(w, debugPage)
go.uber.org/multierr
error.go#L300: io.WriteString(w, item.Error())
error.go#L328: io.WriteString(w, s[:idx+1])
golang.org/x/net/http2
server.go#L2322: io.WriteString(w, "<h1>HTTP Error 431</h1><p>Request Header Field(s) Too Large</p>")
golang.org/x/tools/go/gcexportdata
gcexportdata.go#L157: if _, err := io.WriteString(out, "i"); err != nil {
golang.org/x/tools/internal/event/keys
keys.go#L546: io.WriteString(w, k.From(l).Error())
golang.org/x/tools/internal/event/label
label.go#L134: io.WriteString(f, `nil`)
label.go#L137: io.WriteString(f, t.Key().Name())
label.go#L138: io.WriteString(f, "=")
golang.org/x/tools/internal/pkgbits
encoder.go#L94: _, err := io.WriteString(out, elem)
google.golang.org/grpc
trace.go#L74: io.WriteString(&line, "RPC: ")
trace.go#L76: io.WriteString(&line, "to")
trace.go#L78: io.WriteString(&line, "from")
trace.go#L84: io.WriteString(&line, "none")
google.golang.org/protobuf/internal/descfmt
stringer.go#L26: io.WriteString(s, formatListOpt(vs, true, r == 'v' && (s.Flag('+') || s.Flag('#'))))
stringer.go#L120: io.WriteString(s, formatDescOpt(t, true, r == 'v' && (s.Flag('+') || s.Flag('#'))))
mime
encodedword.go#L87: io.WriteString(w, s)
encodedword.go#L101: io.WriteString(w, s[last:i])
encodedword.go#L108: io.WriteString(w, s[last:])
net/http
h2_bundle.go#L5914: io.WriteString(w, "<h1>HTTP Error 431</h1><p>Request Header Field(s) Too Large</p>")
request.go#L663: _, err = io.WriteString(w, "\r\n")
response.go#L314: if _, err := io.WriteString(w, "Content-Length: 0\r\n"); err != nil {
response.go#L320: if _, err := io.WriteString(w, "\r\n"); err != nil {
server.go#L1853: io.WriteString(re.Conn, "HTTP/1.0 400 Bad Request\r\n\r\nClient sent an HTTP request to an HTTPS server.\n")
server.go#L3398: io.WriteString(w, h.errorBody())
transfer.go#L277: if _, err := io.WriteString(w, "Connection: close\r\n"); err != nil {
transfer.go#L289: if _, err := io.WriteString(w, "Content-Length: "); err != nil {
transfer.go#L292: if _, err := io.WriteString(w, strconv.FormatInt(t.ContentLength, 10)+"\r\n"); err != nil {
transfer.go#L299: if _, err := io.WriteString(w, "Transfer-Encoding: chunked\r\n"); err != nil {
transfer.go#L322: if _, err := io.WriteString(w, "Trailer: "+strings.Join(keys, ",")+"\r\n"); err != nil {
transfer.go#L401: _, err = io.WriteString(w, "\r\n")
net/http/httputil
dump.go#L270: io.WriteString(&b, "\r\n")
dump.go#L280: io.WriteString(&b, "\r\n")
net/http/internal
chunked.go#L219: if _, err = io.WriteString(cw.Wire, "\r\n"); err != nil {
chunked.go#L229: _, err := io.WriteString(cw.Wire, "0\r\n")
strings
reader.go#L143: m, err := io.WriteString(w, s)