util

package
v0.0.0-...-5dfeaac Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErr

func CheckErr(err error, msg ...string)

func CheckErrExit

func CheckErrExit(err error, msg ...string)

func CheckErrPanic

func CheckErrPanic(err error, msg ...string)

func CopyMap

func CopyMap(m map[string]string) map[string]string

func JSON

func JSON(a interface{}) []byte

func LogCheckErr

func LogCheckErr(err error, msg ...string)

func LogCheckErrFatal

func LogCheckErrFatal(err error, msg ...string)

func LogCheckErrPanic

func LogCheckErrPanic(err error, msg ...string)

func YAML

func YAML(a interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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