utils

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvInt

func GetEnvInt(envVar string, defaults int) int

GetEnvInt returns an int from the provided environment variable.

func GetEnvString

func GetEnvString(envVar string, defaults string) string

GetEnvString returns a string from the provided environment variable

func GetUnixTimeAsString

func GetUnixTimeAsString() string

GetUnixTimeAsString returns the current unix time as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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