function
Snapshot
Snapshot detaches the supplied map through store.Object.
Arguments
| Argument | Type | Description |
|---|---|---|
values | store.Values | The values value. |
Returns
The declared result.
ViewFull signature
func Snapshot(values store.Values) ViewRelated types
ValuesA map of field names to typed values.
ViewView is an immutable snapshot of one object's field values. Lookup, Get and String accept direct child names, not dotted paths. Follow nested objects with Get("seo").Get("title"); iterate lists with Get("variants").Elements(). These reads share immutable values without copying maps or slices.