Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyNil ¶
func AnyNil(values ...interface{}) bool
AnyNil returns true if any of the passed in parameters are nil, and returns false otherwise.
func AssertErrIsNil ¶
AssertErrIsNil function assert that the passed-in error is nil.
func IsNil ¶
func IsNil(val interface{}) (result bool)
IsNil function determines whether the parameter is nil or not. If the value itself is not nil, reflection is used to determine whether the underlying value is nil. See https://play.golang.org/p/Isoo0CcAvr for an example.
func ToSnakeCase ¶
ToSnakeCase returns snake_case of the provided value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.