MCPcopy Index your code
hub / github.com/Masterminds/structable / Load

Method Load

example/fence.go:79–81  ·  view source on GitHub ↗

Load populates the struct with data from storage. It presumes that the id field is set.

()

Source from the content-addressed store, hash-verified

77// Load populates the struct with data from storage.
78// It presumes that the id field is set.
79func (r *Fence) Load() error {
80 return r.rec.Load()
81}
82
83// LoadGeopoint loads by a given Lat/Long
84// Example of a custom loader

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected