helpers

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package helpers has a set of functions that makes the some task easier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnvVar

func GetEnvVar(key string, defaultValue string) string

GetEnvVar Returns an environment variable's value if available, if not its defaultValue Lookup table: - Environment (os) - Argument (viper) - Default Value (param)

func LogEndpoints

func LogEndpoints(r *mux.Router)

Types

This section is empty.

Jump to

Keyboard shortcuts

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