helpers

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(filename string, cfg interface{}) error

LoadConfig read YAML-formatted config from filename into cfg.

func LogError

func LogError(message string, f func() error)

LogError logs any error returned by f; useful when defering Close etc.

func MinUint32

func MinUint32(a, b uint32) uint32

MinUint32 return the min of a and b.

Types

This section is empty.

Jump to

Keyboard shortcuts

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