Documentation ¶
Index ¶
- func ConvertInt64ToTime(x int64) time.Time
- func ConvertInterfaceToStruct(x interface{}) (*structpb.Struct, error)
- func ConvertNullInt64ToInt64(x sql.NullInt64) int64
- func ConvertNullStringToString(x sql.NullString) string
- func ConvertNullUUIDToString(x uuid.NullUUID) string
- func ConvertStructToJSONText(x *structpb.Struct) (types.JSONText, error)
- func ConvertTimeToInt64(x time.Time) int64
- func ConvertUUIDToString(x uuid.UUID) string
- func ConvertUint8ToUInt32(x uint8) uint32
- func ConvertUint8ToUInt64(x uint8) uint64
- type Order
- type OrderDirection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertInt64ToTime ¶
func ConvertInterfaceToStruct ¶
protobuf
func ConvertNullInt64ToInt64 ¶
func ConvertNullStringToString ¶
func ConvertNullStringToString(x sql.NullString) string
func ConvertNullUUIDToString ¶
func ConvertStructToJSONText ¶
sqlx
func ConvertUint8ToUInt32 ¶
func ConvertUint8ToUInt64 ¶
Types ¶
type Order ¶
type Order struct { Direction OrderDirection Field string }
type OrderDirection ¶
type OrderDirection string
const ( OrderDirectionASC OrderDirection = "ASC" OrderDirectionDESC OrderDirection = "DESC" )
Click to show internal directories.
Click to hide internal directories.