Documentation ¶
Index ¶
- func ArrayJoin(array_or_slice interface{})
- func CaptchaCreate(idKey string, captchaLen int) (string, string)
- func FormatTime(timestamp int64) string
- func FormatTimeDate(timestamp int64) string
- func GetRandomString(count int) string
- func JsonCode(data interface{}) (string, error)
- func JsonDeCode(code []byte) (*simplejson.Json, error)
- func JsonDeCodeInt(code []byte) int
- func JsonDeCodeString(code []byte) string
- func JsonGetToInt(json *simplejson.Json, key string) int
- func JsonGetToString(json *simplejson.Json, key string) string
- func JsonNumberToInt(v interface{}) int
- func JsonNumberToInt64(v interface{}) int64
- func MD5(text string) string
- func Now() string
- func ProcessErrorBeego(this *beego.Controller, err error) bool
- func RunShell(name string) string
- func SaltStr(str string, salt string) string
- func StringToFloat32(_str interface{}) float32
- func StringToFloat64(_str interface{}) float64
- func StringToInt(_str interface{}) int
- func StringToInt64(_str interface{}) int64
- func TimestampRandStr(rndCount int) string
- func ToString(a interface{}) string
- func Typeof(v interface{}) string
- func VerfiyCaptcha(idkey, verifyValue string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTime ¶
func FormatTimeDate ¶
func JsonGetToInt ¶
func JsonGetToInt(json *simplejson.Json, key string) int
simplejson.Get(key).String() to int
func JsonGetToString ¶
func JsonGetToString(json *simplejson.Json, key string) string
simplejson.Get(key).String()
func ProcessErrorBeego ¶
func ProcessErrorBeego(this *beego.Controller, err error) bool
func VerfiyCaptcha ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.