Documentation ¶
Index ¶
- Constants
- func DateAdd(day int) string
- func DateNow() string
- func DateTime() int64
- func DecryptEncryptedData(encryptedData, sessionKey, iv string) ([]byte, error)
- func DesDecryptStr(src, key, iv string) ([]byte, error)
- func DesEncryptStr(src []byte, key, iv string) (string, error)
- func DoGet(url string, param map[string]string, resp interface{}) error
- func DoPost(url string, param interface{}, resp interface{}) error
- func DoPostXMLWithTLS(uri string, obj interface{}, resp interface{}, ca, key string) error
- func Dump(i interface{}, tag string)
- func RandInt(min, max int) int
- func RandIntSlice(max, length int) []int
- func Str2Time(s string) (int64, error)
- func SubStr(str string, limit int, suffix string) string
- func TodayUnix() int64
- type LocalDate
- type V
Constants ¶
View Source
const GoTimeStart = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func DecryptEncryptedData ¶
解密微信加密数据
func DoPostXMLWithTLS ¶
Types ¶
type LocalDate ¶
func (LocalDate) MarshalJSON ¶
MarshalJSON on JSONTime format Time field with %Y-%m-%d %H:%M:%S
Source Files ¶
Click to show internal directories.
Click to hide internal directories.