mirror of
https://github.com/duke-git/lancet.git
synced 2026-03-01 00:35:28 +08:00
checkout v2 branch for generics migration
This commit is contained in:
6
myconstraints/constraints.go
Normal file
6
myconstraints/constraints.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package myconstraints
|
||||
|
||||
|
||||
type Number interface {
|
||||
int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | uintptr | float32 | float64 | complex64 | complex128
|
||||
}
|
||||
Reference in New Issue
Block a user