Documentation ¶
Index ¶
- Variables
- func AesDecrypt(data []byte, key []byte) ([]byte, error)
- func AesEncrypt(data []byte, key []byte) ([]byte, error)
- func BoolFunc2Bool(fc func() bool) bool
- func BoolFunc2Int(fc func() bool, trueInt, falseInt int) int
- func BoolFunc2OneZero(fc func() bool) int
- func BoolFunc2Str(fc func() bool, trueStr, falseStr string) string
- func NowFmtYMDHMS() string
- func StringIsNullOrEmpty(str string) bool
- func StringsEqual(str1, str2 string) bool
- func StringsHasNullOrEmpty(args ...string) bool
- type Error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ERR_INVALID_PARAMETER = &Error{Code: 6001, Description: "invalid parameter"} // 6001-invalid parameter ERR_UNIMPLEMENTATION = &Error{Code: 7001, Description: "unimplementation"} // 7001-unimplementation ERR_UNKNOWN = &Error{Code: 9999, Description: "unknown"} // 9999-unknown )
Functions ¶
func BoolFunc2Bool ¶
func BoolFunc2Int ¶
func BoolFunc2OneZero ¶
func BoolFunc2Str ¶
func NowFmtYMDHMS ¶
func NowFmtYMDHMS() string
func StringIsNullOrEmpty ¶
func StringsEqual ¶
func StringsHasNullOrEmpty ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.