Documentation ¶
Index ¶
- Constants
- func ArrayContains(arr []string, str string) bool
- func GetArrayStr(value interface{}, valType reflect.Type) string
- func GetDeleteColumnName(model interface{}) string
- func GetTableName(model interface{}) string
- func GetTimestampStr(value interface{}) string
- func IsNullable(value interface{}) bool
- func IsTime(value interface{}) bool
- func IsTypeString(valType reflect.Type) bool
- func IsValid(value interface{}) bool
- func ReflectValues(reflectValue reflect.Value, i int) (reflect.StructTag, string, interface{}, reflect.Type)
Constants ¶
View Source
const SPANER_KEY string = "spanner"
View Source
const SSORM_TAG_CREATE_TIME string = "create_time"
View Source
const SSORM_TAG_DELETE_TIME string = "delete_time"
View Source
const SSORM_TAG_IGNORE_WRITE string = "ignore_write"
View Source
const SSORM_TAG_KEY string = "ssorm_key"
View Source
const SSORM_TAG_NULLABLE_WRITE string = "nullable_write"
View Source
const SSORM_TAG_PRIMARY string = "primary"
View Source
const SSORM_TAG_UPDATE_TIME string = "update_time"
Variables ¶
This section is empty.
Functions ¶
func ArrayContains ¶
func GetArrayStr ¶
func GetDeleteColumnName ¶
func GetDeleteColumnName(model interface{}) string
func GetTableName ¶
func GetTableName(model interface{}) string
func GetTimestampStr ¶
func GetTimestampStr(value interface{}) string
func IsNullable ¶
func IsNullable(value interface{}) bool
func IsTypeString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.