MustFloat32 requires parameter value to exist to bind to float32 variable. Returns error when value does not exist
(sourceParam string, dest *float32)
| 1005 | |
| 1006 | // MustFloat32 requires parameter value to exist to bind to float32 variable. Returns error when value does not exist |
| 1007 | func (b *ValueBinder) MustFloat32(sourceParam string, dest *float32) *ValueBinder { |
| 1008 | return b.floatValue(sourceParam, dest, 32, true) |
| 1009 | } |
| 1010 | |
| 1011 | func (b *ValueBinder) floatValue(sourceParam string, dest any, bitSize int, valueMustExist bool) *ValueBinder { |
| 1012 | if b.failFast && b.errors != nil { |