Bool binds parameter to bool variable
(sourceParam string, dest *bool)
| 915 | |
| 916 | // Bool binds parameter to bool variable |
| 917 | func (b *ValueBinder) Bool(sourceParam string, dest *bool) *ValueBinder { |
| 918 | return b.boolValue(sourceParam, dest, false) |
| 919 | } |
| 920 | |
| 921 | // MustBool requires parameter value to exist to bind to bool variable. Returns error when value does not exist |
| 922 | func (b *ValueBinder) MustBool(sourceParam string, dest *bool) *ValueBinder { |