Documentation ¶
Index ¶
- Constants
- func FormatJsonpResponse(b []byte, prefix string, isConvertStr bool) gjson.Result
- func GenerateRangeNum(min, max int64) int64
- func Hour2Unix(hour string) (time.Time, error)
- func Json2Map(j string) map[string]interface{}
- func Md5(s string) string
- func RandFloats(min, max float64, n int) float64
- func UnixMilli() int64
Constants ¶
View Source
const ( DateTimeFormatStr = "2006-01-02 15:04:05" DateFormatStr = "2006-01-02" )
这个包放置公共常量
Variables ¶
This section is empty.
Functions ¶
func FormatJsonpResponse ¶
func GenerateRangeNum ¶
func RandFloats ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.