utils

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchEnvVar

func FetchEnvVar(key, defaultValue string) string

FetchEnvVar returns environment variable if not found it will return the given default value

func RetrieveEnvVar

func RetrieveEnvVar(key string) string

RetrieveEnvVar returns environment and if not found it logs a fatal error

Types

This section is empty.

Jump to

Keyboard shortcuts

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