Documentation ¶
Index ¶
- func Abort(errMsg string, errs ...error)
- func CheckErr(errs ...error) bool
- func CheckErrThenAbort(errMsg string, errs ...error)
- func CheckErrThenLog(errMsg string, errs ...error)
- func CheckErrThenPanic(errMsg string, errs ...error)
- func ConditionalOperator(condition bool, expr1 func() interface{}, expr2 func() interface{}) interface{}
- func Empty(val interface{}) bool
- func HttpBuildQuery(val interface{}) (string, error)
- func Isset(arr map[string]interface{}, key string) bool
- func LogErr(errMsg string, errs ...error)
- func PanicErr(errMsg string, errs ...error)
- func ParseInt(val interface{}, err error) (int, error)
- func ParseStr(val interface{}, err error) (string, error)
- func StrIntval(str string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrThenAbort ¶
func CheckErrThenLog ¶
func CheckErrThenPanic ¶
func ConditionalOperator ¶
func ConditionalOperator(condition bool, expr1 func() interface{}, expr2 func() interface{}) interface{}
Expr
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.