泛型定义

This commit is contained in:
2023-04-15 20:20:42 +08:00
commit 4c7d35da17
6 changed files with 106 additions and 0 deletions

17
dict.go Normal file
View File

@ -0,0 +1,17 @@
// Package op_type ...
//
// Description : op_type ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-04-15 20:17
package op_type
// Dict ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 20:18 2023/4/15
type Dict interface {
map[string]interface{} | map[interface{}]interface{} | map[int64]int64 | map[float64]interface{}
}