Documentation ¶
Index ¶
- func AesCBCDecrypt(encryptData, key, iv []byte) ([]byte, error)
- func Base64Decode(str string) string
- func Base64Encode(str string) string
- func ContainsInt(s []int, e int) bool
- func DateEqual(date1, date2 time.Time) bool
- func ExactMapValues2Int64Array(maparray []orm.Params, key string) []int64
- func ExactMapValues2StringArray(maparray []orm.Params, key string) []string
- func Float642String(val float64) string
- func FormatTimestamp(timestamp int64, format string) string
- func GetHTTPRtnJsonData(errno int, errmsg string) interface{}
- func GetTimestamp() int64
- func GetUUID() string
- func Int2String(val int) string
- func Int642String(val int64) string
- func Md5(str string) string
- func PKCS7UnPadding(origData []byte) []byte
- func ReturnHTTPSuccess(this *beego.Controller, val interface{})
- func String2Int(val string) int
- func UrlEncode(str string) (string, error)
- type HTTPData
- type PageData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCBCDecrypt ¶
func Base64Decode ¶
func Base64Encode ¶
func ContainsInt ¶
func Float642String ¶
func FormatTimestamp ¶
the result likes 2015-02-08 10:19:39 AM
func GetHTTPRtnJsonData ¶
func Int2String ¶
func Int642String ¶
func PKCS7UnPadding ¶
func ReturnHTTPSuccess ¶
func ReturnHTTPSuccess(this *beego.Controller, val interface{})
func String2Int ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.