Durations binds parameter values to slice of time.Duration variables
(sourceParam string, dest *[]time.Duration)
| 1208 | |
| 1209 | // Durations binds parameter values to slice of time.Duration variables |
| 1210 | func (b *ValueBinder) Durations(sourceParam string, dest *[]time.Duration) *ValueBinder { |
| 1211 | return b.durationsValue(sourceParam, dest, false) |
| 1212 | } |
| 1213 | |
| 1214 | // MustDurations requires parameter values to exist to bind to slice of time.Duration variables. Returns error when values does not exist |
| 1215 | func (b *ValueBinder) MustDurations(sourceParam string, dest *[]time.Duration) *ValueBinder { |