util

package
v0.0.0-...-8c30c0b Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendIfNeeded

func AppendIfNeeded(s string, suffix byte) string

func Chdir

func Chdir(s string)

func CheckErrFatal

func CheckErrFatal(err error, msg ...interface{})

func CheckErrPanic

func CheckErrPanic(err error, msg ...interface{})

func ConstructSomeLogWriter

func ConstructSomeLogWriter(logName string, dfltWriter io.Writer) io.Writer

func Fatal

func Fatal(format string, args ...interface{})

func FileExists

func FileExists(path string) bool

func LogError

func LogError(err error, msg ...interface{}) bool

func Stderr

func Stderr(format string, args ...interface{})

Types

type Anything

type Anything interface{}

type Nothing

type Nothing struct{}

Jump to

Keyboard shortcuts

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