Documentation ¶
Index ¶
- func Base64(str string) string
- func GetStructName(data interface{}) string
- func HasAttr(data interface{}, attrName string) bool
- func HasMethod(data interface{}, methodName string) bool
- func IsStruct(data interface{}) bool
- func MD5(origin string) string
- func MakeSign(params map[string]string) string
- func MapToXMLString(data map[string]string) string
- func MapToXMLStringRe()
- func Run(worker TryCatchWorker)
- func TimeMd5() string
- func ToURLParamsSortByKey(params map[string]string) string
- func UnixSeconds() int64
- type TryCatchWorker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStructName ¶
func GetStructName(data interface{}) string
func MapToXMLString ¶
func MapToXMLStringRe ¶
func MapToXMLStringRe()
func Run ¶
func Run(worker TryCatchWorker)
func ToURLParamsSortByKey ¶
func UnixSeconds ¶
func UnixSeconds() int64
Types ¶
type TryCatchWorker ¶
type TryCatchWorker interface { Try() Catch(err interface{}) }
Click to show internal directories.
Click to hide internal directories.