utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvOrDefault

func GetEnvOrDefault(key, d string) string

GetEnvOrDefault is helper func for getting env or default

func Output

func Output(val interface{}, err error)

Output is helper func for writing pretty json data to std

func Str2int64

func Str2int64(s string) (int64, error)

Str2int64 is helper func for converting string to int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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