Documentation ¶
Index ¶
- Constants
- func Compare(first, second string) (bool, error)
- func CreatFilePath(path string) error
- func HmacSha1(data, secrect string) string
- func HmacSha256(data, secret []byte) []byte
- func IsBasicType(kind reflect.Kind) bool
- func IsFilePathExist(path string) bool
- func IsMap(value interface{}) bool
- func IsSlice(value interface{}) bool
- func IsSlicePointer(value interface{}) bool
- func IsStructPointer(value interface{}) bool
- func MD5WithBase64(data []byte) string
- func MergeErrors(errorLisst []error) error
- func Sha256hash(data []byte) string
Constants ¶
View Source
const ( // 日期格式字符串 DateFormat = "2006-01-02" // 时间格式字符串 TimeFormat = "2006-01-02 15:04:05" )
全局常量定义
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.