utils

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Cfg unparsed string config file

View Source
var Config config

Config parsed config file

View Source
var Log = logrus.New()

Log Returns a new logrus logger instance.

View Source
var LogLevelVerbose bool

LogLevelVerbose log level for the cli

Functions

func InitConfig

func InitConfig()

InitConfig initialize the config variable

func InitiateLogger

func InitiateLogger()

InitiateLogger the default logger

func LoadConfig

func LoadConfig()

LoadConfig reads in config file and ENV variables if set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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