Documentation ¶
Index ¶
- func Contain(obj interface{}, target interface{}) (bool, error)
- func GenerateCodeByUUID(codeType int) (code string)
- func ObtainClientId(ctx iris.Context) (clientId int64, err error)
- func PrintCallerInfo(ctx iris.Context)
- func RandStr(len int) string
- func SplitRedisPort(ports string) (split []string)
- func ZeroValue(v interface{}) bool
- type CodePrefix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCodeByUUID ¶
GenerateCodeByUUID 根据UUID生成编码
func ObtainClientId ¶
ObtainClientId 获取当前的租户id
func SplitRedisPort ¶
Types ¶
type CodePrefix ¶
type CodePrefix struct { req.CommonModel PrefixStr string `gorm:"column:prefix_str;type:string" json:"prefixStr"` Remark string `gorm:"column:remark;type:string" json:"remark"` }
Click to show internal directories.
Click to hide internal directories.