MCPcopy Create free account
hub / github.com/goadesign/goa / newTextEncoder

Function newTextEncoder

http/encoding.go:306–308  ·  view source on GitHub ↗
(w io.Writer, ct string)

Source from the content-addressed store, hash-verified

304}
305
306func newTextEncoder(w io.Writer, ct string) Encoder {
307 return &textEncoder{w, ct}
308}
309
310type textEncoder struct {
311 w io.Writer

Callers 2

ResponseEncoderFunction · 0.85
TestTextEncoder_EncodeFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestTextEncoder_EncodeFunction · 0.68