utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(source interface{}, destination interface{})

Convert for convert from map[string]interface{} to struct or reverse or array of them

func ErrorHandler

func ErrorHandler(err error)

ErrorHandler for print error message to console with engine name if error != nil

func GetEnvString

func GetEnvString(key, defaultVal string) string

GetEnvString for get env type string

func LogPrint

func LogPrint(args ...interface{})

LogPrint for print message for debug with engine name

func PrettyPrint

func PrettyPrint(data interface{})

PrettyPrint for print struct/map/array to console as indent view

Types

This section is empty.

Jump to

Keyboard shortcuts

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