Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
306
func
newTextEncoder(w io.Writer, ct string) Encoder {
307
return
&textEncoder{w, ct}
308
}
309
310
type
textEncoder
struct
{
311
w io.Writer
Callers
2
ResponseEncoder
Function · 0.85
TestTextEncoder_Encode
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestTextEncoder_Encode
Function · 0.68