Load populates the struct with data from storage. It presumes that the id field is set.
()
| 77 | // Load populates the struct with data from storage. |
| 78 | // It presumes that the id field is set. |
| 79 | func (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 |