envreader

package
v0.0.0-...-e371a88 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadEnvAsInt

func ReadEnvAsInt(envName string, defaultValue int) int

ReadEnvAsInt reads env variable and converts it to string, if not found or failed returns default value

func ReadEnvAsString

func ReadEnvAsString(envName string, defaultValue string) string

ReadEnvAsString reads env variable as string, if not found or failed returns default value

Types

This section is empty.

Jump to

Keyboard shortcuts

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