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

Method Encode

http/encoding.go:43–43  ·  view source on GitHub ↗

Encode encodes v.

(v any)

Source from the content-addressed store, hash-verified

41 Encoder interface {
42 // Encode encodes v.
43 Encode(v any) error
44 }
45
46 // EncodingFunc allows a function with appropriate signature to act as a

Callers 6

ErrorEncoderFunction · 0.65
HandleMethod · 0.65
MarshalXMLMethod · 0.65
TestTextEncoder_EncodeFunction · 0.65

Implementers 2

jsonEncoderhttp/encoding.go
textEncoderhttp/encoding.go

Calls

no outgoing calls

Tested by 3

TestTextEncoder_EncodeFunction · 0.52