config

package
v0.0.0-...-76524a3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

fork "github.com/microparts/configuration-golang"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key, fallback string) string

GetEnv Getting var from ENV with fallback param on empty

func ReadConfigs

func ReadConfigs(cfgPath string) ([]byte, error)

ReadConfigs Reads yaml files from configuration directory with sub folders as application stage and merges config files in one configuration per stage

Types

This section is empty.

Jump to

Keyboard shortcuts

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