utils

package
v0.7.8 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(params ...interface{})

Debug print params

func FatalError

func FatalError(msg string, err error)

FatalError

func GetLocalIp

func GetLocalIp() (string, error)

GetLocalIp return local ip

func LogError

func LogError(msg string, err error)

LogError

func MergeMaps

func MergeMaps(items ...map[string]interface{}) map[string]interface{}

MergeMaps merge items

func SecurePanic

func SecurePanic(err error)

SecurePanic only panic when err not nil

func Trace

func Trace() []string

Trace return code trace info

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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