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

Method AsInterface

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

AsInterface should decode the value into the Go value that best represents it.

()

Source from the content-addressed store, hash-verified

358
359 // AsInterface should decode the value into the Go value that best represents it.
360 AsInterface() (any, error)
361
362 // If the decoder wants to decode a value in a special way it should do so here
363 // and return true, the decoded value, and any error from the decoding.

Callers 2

decodeFunction · 0.65
DiffMetricsFunction · 0.65

Implementers 6

decoderdocstore/memdocstore/codec.go
decoderdocstore/awsdynamodb/v2/codec.go
decoderdocstore/gcpfirestore/codec.go
testDecoderdocstore/driver/codec_test.go
failDecoderdocstore/driver/codec_test.go
decoderdocstore/mongodocstore/codec.go

Calls

no outgoing calls

Tested by

no test coverage detected