common

package
v0.0.0-...-887b451 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFileName = "./config/config.yaml"
)

Variables

View Source
var Logger = log.New()

Logger is a logger instance

Functions

func GetConfigKey

func GetConfigKey(prefix string, key string) string

GetConfigKey returns the key with the given prefix

func LoadYAMLConfig

func LoadYAMLConfig(configFileName string) (*viper.Viper, error)

LoadYAMLConfig loads the YAML config file

Types

This section is empty.

Jump to

Keyboard shortcuts

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