MustInt requires parameter value to exist to bind to int variable. Returns error when value does not exist
(sourceParam string, dest *int)
| 514 | |
| 515 | // MustInt requires parameter value to exist to bind to int variable. Returns error when value does not exist |
| 516 | func (b *ValueBinder) MustInt(sourceParam string, dest *int) *ValueBinder { |
| 517 | return b.intValue(sourceParam, dest, 0, true) |
| 518 | } |
| 519 | |
| 520 | func (b *ValueBinder) intValue(sourceParam string, dest any, bitSize int, valueMustExist bool) *ValueBinder { |
| 521 | if b.failFast && b.errors != nil { |