MCPcopy Index your code
hub / github.com/go-dev-frame/sponge / encoder

Struct encoder

pkg/encoding/encoding_test.go:122–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122type encoder struct{}
123
124func (e encoder) Marshal(v interface{}) ([]byte, error) {
125 return nil, errors.New("mock Marshal error")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected