SetAll saves all items from m into the current event data store.
(m map[string]any)
| 144 | |
| 145 | // SetAll saves all items from m into the current event data store. |
| 146 | func (e *Event) SetAll(m map[string]any) { |
| 147 | for k, v := range m { |
| 148 | e.Set(k, v) |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | // Response writers |
| 153 | // ------------------------------------------------------------------- |