Documentation ¶
Index ¶
- Variables
- func FileClose(file *os.File)
- func FileIsExist(filename string) bool
- func FileOpen(filepath string) (*os.File, error)
- func FileWrite(file *os.File, s string) error
- func MapGet(p map[string]string, key string) string
- func MapHas(kuos map[string]string, val string) bool
- func Md5(val string) string
- func RandSeq(n int) string
- func SliceBeContains(key string, slice []string, ignoreAa bool) bool
- func SliceContains(slice []string, key string, ignoreAa bool) bool
- func SliceHas(slice []string, key string, ignoreAa bool) bool
- func TimeFormat2timestamp(settime string, isMS bool) int64
- func TimeFormat2timestampString(settime string, isMS bool) string
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeLayout string = "2006-01-02 15:04:05"
Functions ¶
func SliceBeContains ¶
ignoreAa忽略大小写 key中是否含有切片的值
func SliceContains ¶
ignoreAa忽略大小写 切片的值中是否含有key的值
func TimeFormat2timestamp ¶
TimeFormat2timestamp 格式 "2006-01-02 15:04:05"
func TimeFormat2timestampString ¶
TimeFormat2timestamp 格式 "2006-01-02 15:04:05"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.