Documentation ¶
Index ¶
- func Defined(data interface{}, field string) bool
- func Dict(values ...interface{}) (map[string]interface{}, error)
- func IsMap(o interface{}) bool
- func IsNil(o interface{}) bool
- func IsSlice(o interface{}) bool
- func Recover(cleanups ...func())
- func RemoveDuplicateElement[T EleType](values []T) []T
- type EleType
- type RecoverFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSlice ¶ added in v1.0.54
func IsSlice(o interface{}) bool
IsSlice checks if some variable is a slice
func RemoveDuplicateElement ¶ added in v1.0.53
func RemoveDuplicateElement[T EleType](values []T) []T
Types ¶
type RecoverFunc ¶ added in v1.1.21
type RecoverFunc func(r any)
var DefRecoverFunc RecoverFunc = func(r any) {
}
Click to show internal directories.
Click to hide internal directories.