Documentation
¶
Index ¶
- func AesDecrypt(keyStr string, dataStr string) ([]byte, error)
- func AesEncrypt(keyStr string, data []byte) (string, error)
- func BoolValue(str string) bool
- func CopyObject(src interface{}, dst interface{}) error
- func FloatValue(str string) float64
- func IntValue(str string, defaultValue int) int
- func InterfaceToString(value interface{}) string
- func JsonDecode(src string, dest interface{}) error
- func JsonEncode(value interface{}) string
- func Md5(data string) string
- func RandomNumber(bit int) int
- func Sha256(data string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FloatValue ¶
func InterfaceToString ¶
func InterfaceToString(value interface{}) string
func JsonDecode ¶
func JsonEncode ¶
func JsonEncode(value interface{}) string
func RandomNumber ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.