goutils

package module
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: MIT Imports: 2 Imported by: 16

README

go-utils

common helper utilities in go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert added in v0.0.4

func Assert(err error)

func MarshalJSONToMap added in v0.0.7

func MarshalJSONToMap(ent interface{}, m map[string]interface{})

func RecoverToErr

func RecoverToErr(err *error)

func Try added in v0.0.5

func Try(fn func()) error

func UnmarshalJSONFromMap added in v0.0.6

func UnmarshalJSONFromMap(m map[string]interface{}, ent interface{})

func UnwrapType added in v0.0.2

func UnwrapType(raw reflect.Type) reflect.Type

func UnwrapValue added in v0.0.2

func UnwrapValue(raw reflect.Value) reflect.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL