MCPcopy Create free account
hub / github.com/google/go-cloud / encoder

Struct encoder

docstore/memdocstore/codec.go:44–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44type encoder struct {
45 val any
46}
47
48func (e *encoder) EncodeNil() { e.val = nil }
49func (e *encoder) EncodeBool(x bool) { e.val = x }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected