MCPcopy Create free account
hub / github.com/golang/appengine / loadStructWithMeta

Function loadStructWithMeta

v2/search/struct.go:225–231  ·  view source on GitHub ↗
(dst interface{}, f []Field, meta *DocumentMetadata)

Source from the content-addressed store, hash-verified

223}
224
225func loadStructWithMeta(dst interface{}, f []Field, meta *DocumentMetadata) error {
226 x, err := newStructFLS(dst)
227 if err != nil {
228 return err
229 }
230 return x.Load(f, meta)
231}
232
233func saveStructWithMeta(src interface{}) ([]Field, *DocumentMetadata, error) {
234 x, err := newStructFLS(src)

Callers 3

loadDocFunction · 0.70
LoadStructFunction · 0.70
TestLoadingStructFunction · 0.70

Calls 2

newStructFLSFunction · 0.70
LoadMethod · 0.65

Tested by 1

TestLoadingStructFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…