Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyNil ¶
func AnyNil(values ...interface{}) bool
AnyNil return true if exists any nil value in passed params.
func AssertErrIsNil ¶
AssertErrIsNil function assert that passed error be nil.
func IsNil ¶
func IsNil(val interface{}) (result bool)
IsNil function check value is nil or no. To check real value of interface is nil or not, should using reflection, check this https://play.golang.org/p/Isoo0CcAvr. Firstly check `val==nil` because reflection can not get value of zero val.
func ToSnakeCase ¶
ToSnakeCase function convert string to snake_case
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.