Unsigned is a generic type constraint for all unsigned integers.
| 11 | |
| 12 | // Unsigned is a generic type constraint for all unsigned integers. |
| 13 | type Unsigned interface { |
| 14 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |
| 15 | } |
| 16 | |
| 17 | // Integer is a generic type constraint for all integers (signed and unsigned.) |
| 18 | type Integer interface { |
nothing calls this directly
no outgoing calls
no test coverage detected