MCPcopy
hub / github.com/valyala/quicktemplate / S

Method S

writer.go:92–94  ·  view source on GitHub ↗

S writes s to w.

(s string)

Source from the content-addressed store, hash-verified

90
91// S writes s to w.
92func (w *QWriter) S(s string) {
93 w.Write(unsafeStrToBytes(s))
94}
95
96// Z writes z to w.
97func (w *QWriter) Z(z []byte) {

Callers 15

benchmarkQWriterSFunction · 0.95
TestWriterFunction · 0.80
TestQWriterSFunction · 0.80
StreamIntegrationFunction · 0.80
streamembeddedFuncFunction · 0.80
StreamHeaderMethod · 0.80
StreamBodyMethod · 0.80
StreamJSONMethod · 0.80
StreamXMLMethod · 0.80
StreamBenchPageFunction · 0.80
StreamTitleMethod · 0.80
StreamBodyMethod · 0.80

Calls 2

WriteMethod · 0.95
unsafeStrToBytesFunction · 0.70

Tested by 3

benchmarkQWriterSFunction · 0.76
TestWriterFunction · 0.64
TestQWriterSFunction · 0.64