MustDurations requires parameter values to exist to bind to slice of time.Duration variables. Returns error when values does not exist
(sourceParam string, dest *[]time.Duration)
| 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 { |
| 1216 | return b.durationsValue(sourceParam, dest, true) |
| 1217 | } |
| 1218 | |
| 1219 | func (b *ValueBinder) durationsValue(sourceParam string, dest *[]time.Duration, valueMustExist bool) *ValueBinder { |
| 1220 | if b.failFast && b.errors != nil { |