Documentation
¶
Index ¶
- func Camel2Case(name string) string
- func Case2BigCamel(name string) string
- func Case2SmallCamel(name string) string
- func Contains(list []string, s string) bool
- func Find(list []string, s string) int
- func GenwhereToken(columns []string) []string
- func GenwhereTokenOfBatch(columns []string, num int) string
- func GetSoftDelType(t reflect.Type) softdelete.SoftDelType
- func IsSoftDelFieldType(t reflect.Type) bool
- func Lcfirst(str string) string
- func PanicErr(err error)
- func ToSlice(v reflect.Value) []any
- func ToSliceValue(v reflect.Value) []reflect.Value
- func Ucfirst(str string) string
- type Buffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenwhereToken ¶
func GenwhereTokenOfBatch ¶
func GetSoftDelType ¶
func GetSoftDelType(t reflect.Type) softdelete.SoftDelType
GetSoftDelType 获取一个 struct 的 type 的软删除类型
func IsSoftDelFieldType ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.