MinSize requires an array or string to be at least a given length.
| 147 | |
| 148 | // MinSize requires an array or string to be at least a given length. |
| 149 | type MinSize struct { |
| 150 | Min int |
| 151 | } |
| 152 | |
| 153 | func ValidMinSize(min int) MinSize { |
| 154 | return MinSize{min} |
nothing calls this directly
no outgoing calls
no test coverage detected