Documentation ¶
Index ¶
- func GetField(tableFieldNames, selectField, omitField []string) []string
- func GetTableName(tableName string) string
- func GetTableNameAndSubTableField(model interface{}) (string, bool, error)
- func GetValueTag(val reflect.Value, model interface{}, fieldName string) interface{}
- func IsSlice(v interface{}) bool
- func RoundDuration(d time.Duration) time.Duration
- type GetSubTableFielder
- type GetTableNamer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTableName ¶
func GetTableNameAndSubTableField ¶
获取表名和分表信息
func GetValueTag ¶
Types ¶
type GetSubTableFielder ¶
type GetSubTableFielder interface {
GetSubTableField() string
}
Click to show internal directories.
Click to hide internal directories.