mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-07 15:10:01 +08:00
docs(mathx): add godoc comment to Numerical type constraint (#5470)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package mathx
|
||||
|
||||
// Numerical is a constraint that permits any numeric type.
|
||||
type Numerical interface {
|
||||
~int | ~int8 | ~int16 | ~int32 | ~int64 |
|
||||
~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |
|
||||
|
||||
Reference in New Issue
Block a user