MCPcopy Create free account
hub / github.com/corestoreio/pkg / UnmarshalTo

Method UnmarshalTo

config/value.go:184–189  ·  view source on GitHub ↗

UnmarshalTo decodes the value into the final type. vPtr must be a pointer. The function signature for `fn` matches e.g. json.Unmarshal, xml.Unmarshal and many others.

(fn func([]byte, interface{}) error, vPtr interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestValueFunction · 0.95

Implementers 15

Storestore/entities_gen.go
Storesstore/entities_gen.go
StoreGroupstore/entities_gen.go
StoreGroupsstore/entities_gen.go
StoreWebsitestore/entities_gen.go
StoreWebsitesstore/entities_gen.go
ProtoIsAllowedStoreIDRequeststore/service.pb.go
ProtoRunModeRequeststore/service.pb.go
ProtoIDRequeststore/service.pb.go
ProtoStoreIDbyCodeRequeststore/service.pb.go

Calls 1

initMethod · 0.95

Tested by 1

TestValueFunction · 0.76