泛型定义
This commit is contained in:
17
number.go
Normal file
17
number.go
Normal file
@ -0,0 +1,17 @@
|
||||
// Package op_type ...
|
||||
//
|
||||
// Description : op_type ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2023-04-15 20:13
|
||||
package op_type
|
||||
|
||||
// Number ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 20:14 2023/4/15
|
||||
type Number interface {
|
||||
int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64
|
||||
}
|
||||
Reference in New Issue
Block a user