util

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDir

func EnsureDir(fn string) error

EnsureDir ensure dir is existed

func LogError

func LogError(err error)

LogError print error level log

func LogFatal

func LogFatal(err error)

LogFatal print error level log and exit with code -1

func LogInfo

func LogInfo(msg string)

LogInfo print info level log

func LogNail added in v0.2.1

func LogNail(msg string)

LogNail print nail log

Types

This section is empty.

Jump to

Keyboard shortcuts

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