MustBindWithDelimiter requires parameter value to exist to bind destination by suitable conversion function. Delimiter is used before conversion to split parameter value to separate values
(sourceParam string, dest any, delimiter string)
| 426 | // MustBindWithDelimiter requires parameter value to exist to bind destination by suitable conversion function. |
| 427 | // Delimiter is used before conversion to split parameter value to separate values |
| 428 | func (b *ValueBinder) MustBindWithDelimiter(sourceParam string, dest any, delimiter string) *ValueBinder { |
| 429 | return b.bindWithDelimiter(sourceParam, dest, delimiter, true) |
| 430 | } |
| 431 | |
| 432 | func (b *ValueBinder) bindWithDelimiter(sourceParam string, dest any, delimiter string, valueMustExist bool) *ValueBinder { |
| 433 | if b.failFast && b.errors != nil { |