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

Method EncodeSpecial

docstore/driver/codec.go:94–94  ·  view source on GitHub ↗

If the encoder wants to encode a value in a special way it should do so here and return true along with any error from the encoding. Otherwise, it should return false.

(v reflect.Value)

Source from the content-addressed store, hash-verified

92 // and return true along with any error from the encoding. Otherwise, it should
93 // return false.
94 EncodeSpecial(v reflect.Value) (bool, error)
95}
96
97// Encode encodes the value using the given Encoder. It traverses the value,

Callers 1

encodeFunction · 0.65

Implementers 5

encoderdocstore/memdocstore/codec.go
encoderdocstore/awsdynamodb/v2/codec.go
encoderdocstore/gcpfirestore/codec.go
testEncoderdocstore/driver/codec_test.go
encoderdocstore/mongodocstore/codec.go

Calls

no outgoing calls

Tested by

no test coverage detected