Documentation ¶
Index ¶
- Constants
- func Byte2Map(b []byte) (*map[string]interface{}, error)
- func Byte2Struct(b []byte, obj interface{}) error
- func Contains(items []string, key string) bool
- func CreatedToMap(val interface{}) (*map[string]interface{}, error)
- func GetAsiaSeoulTimeLocation() *time.Location
- func GetDefaultLogLocalDateTimeMilli() string
- func GetTimeLocation(region string) *time.Location
- func Int64ArrayToString(list []int64, delim string) string
- func IsEmailFormat(email string) bool
- func Map2Byte(mapData map[string]interface{}) ([]byte, error)
- func Map2Struct(mapData map[string]interface{}, object interface{}) error
- func String2Struct(str string, obj interface{}) error
- func StringToInt64Array(ids string, delim string) ([]int64, error)
- func Struct2Byte(s interface{}) ([]byte, error)
- func Struct2Json(s interface{}) (string, error)
- func Struct2Map(s interface{}) (map[string]interface{}, error)
Constants ¶
View Source
const ( DateLayout8 = "20060102" DateLayout10 = "2006-01-02" DateLayout19 = "2006-01-02 15:04:05" DateLayoutMilli = "2006-01-02T15:04:05.000Z07:00" DateLayoutNano = time.RFC3339Nano )
Variables ¶
This section is empty.
Functions ¶
func Byte2Struct ¶
func CreatedToMap ¶
func GetAsiaSeoulTimeLocation ¶ added in v1.0.64
func GetDefaultLogLocalDateTimeMilli ¶ added in v1.0.76
func GetDefaultLogLocalDateTimeMilli() string
func GetTimeLocation ¶ added in v1.0.64
func Int64ArrayToString ¶
func IsEmailFormat ¶
func Map2Struct ¶
func String2Struct ¶ added in v1.0.3
func Struct2Byte ¶
func Struct2Json ¶
func Struct2Map ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.