Documentation ¶
Index ¶
- func Assert(err error)
- func MarshalJSONToMap(ent interface{}, m map[string]interface{})
- func RecoverToErr(err *error)
- func Retry(fn func(), cfg *RetryConfig)
- func Try(fn func()) error
- func UnmarshalJSONFromMap(m map[string]interface{}, ent interface{})
- func UnwrapType(raw reflect.Type) reflect.Type
- func UnwrapValue(raw reflect.Value) reflect.Value
- type RetryConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSONToMap ¶ added in v0.0.7
func MarshalJSONToMap(ent interface{}, m map[string]interface{})
func RecoverToErr ¶
func RecoverToErr(err *error)
func Retry ¶ added in v0.0.8
func Retry(fn func(), cfg *RetryConfig)
func UnmarshalJSONFromMap ¶ added in v0.0.6
func UnmarshalJSONFromMap(m map[string]interface{}, ent interface{})
Types ¶
type RetryConfig ¶ added in v0.0.8
Click to show internal directories.
Click to hide internal directories.