utils

package
v0.0.0-...-4f6aa53 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErr

func CheckErr(err error)

func CheckErrWithWaitGroup

func CheckErrWithWaitGroup(err error, group *sync.WaitGroup)

func FillStructFromConfig

func FillStructFromConfig(key string, target interface{})

FillStructFromConfig takes environment variable (json config file) by key, load config and fill struct.

func LoadEnv

func LoadEnv(env string)

LoadEnv variables from .env.* file

func WriteCritLog

func WriteCritLog(s string)

func WriteInfoLog

func WriteInfoLog(s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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