method
NumberListField.ReadHooks
Set hooks that shape the returned list.
Arguments
| Argument | Type | Description |
|---|---|---|
value | ReadHooks[[]float64] | A field.ReadHooks[[]float64] value containing read hooks. |
Returns
The updated NumberListField; the original field is unchanged.
NumberListFieldHow it works
Replaces configured read hooks. AfterRead can change the returned list without rewriting stored values.
Full signature
func (f NumberListField) ReadHooks(value ReadHooks[[]float64]) NumberListFieldRelated types
NumberListFieldA configurable list of numbers.