Documentation
¶
Index ¶
- func Check(err error)
- func CheckAndPanic(err error)
- func CheckNil(obj interface{})
- func ImportJsonOrYaml(jsonStr string) []interface{}
- func SyncMapDelete(m *sync.Map, k string)
- func SyncMapExists(m *sync.Map, k string) bool
- func SyncMapGetString(m *sync.Map, k string) string
- func SyncMapSet(m *sync.Map, k string, v interface{})
- func ToJson(obj interface{}) []byte
- func TrimVersion(version string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAndPanic ¶
func CheckAndPanic(err error)
func ImportJsonOrYaml ¶ added in v0.2.2
func ImportJsonOrYaml(jsonStr string) []interface{}
func SyncMapDelete ¶ added in v0.2.2
func SyncMapSet ¶ added in v0.2.2
func TrimVersion ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.