Length requires an array or string to be exactly a given length.
| 195 | |
| 196 | // Length requires an array or string to be exactly a given length. |
| 197 | type Length struct { |
| 198 | N int |
| 199 | } |
| 200 | |
| 201 | func ValidLength(n int) Length { |
| 202 | return Length{n} |
nothing calls this directly
no outgoing calls
no test coverage detected