Documentation ¶
Index ¶
- func GetDatetimeStrFromUnix(unix int64) string
- func GetMD5(str string) string
- func GetPoint1(f float64) float64
- func GetSHA1(str string) string
- func GetUnixFromDatetimeLocal(str string) int64
- func GetXXXX_XX_XX() string
- func MustFloat(str string) float64
- func MustInt(str string) int
- func MustInt64(str string)
- func Pagination(obj interface{}, size, page int, condition ...interface{})
- func SetField(old interface{}, target *map[string]interface{}, fields ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPoint1 ¶
golang sometimes get float64 from mysql will be 1.49999999999999,old is 1.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.