Files
taotie-api/common/common.go

39 lines
781 B
Go

package common
type (
Map = map[string]any
MapAnyAny = map[any]any
MapAnyStr = map[any]string
MapAnyInt = map[any]int
MapAnyBool = map[any]bool
MapStrAny = map[string]any
MapStrStr = map[string]string
MapStrInt = map[string]int
MapStrBool = map[string]bool
MapIntAny = map[int]any
MapIntStr = map[int]string
MapIntInt = map[int]int
MapIntBool = map[int]bool
)
type (
List = []Map
ListAnyAny = []MapAnyAny
ListAnyStr = []MapAnyStr
ListAnyInt = []MapAnyInt
ListAnyBool = []MapAnyBool
ListStrAny = []MapStrAny
ListStrStr = []MapStrStr
ListStrInt = []MapStrInt
ListStrBool = []MapStrBool
ListIntAny = []MapIntAny
ListIntStr = []MapIntStr
ListIntInt = []MapIntInt
ListIntBool = []MapIntBool
)
const (
False = 0
True = 1
)