common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureLogger

func ConfigureLogger(c *cli.Context) (zerolog.Logger, error)

ConfigureLogger configure zerolog.Logger using given cli.Context

func GetLogFlags

func GetLogFlags() []cli.Flag

GetLogFlags return the logging flags

func LoadToml

func LoadToml(path string, value interface{}) error

LoadToml load given TOML file and decode it into given structure

func SaveToml

func SaveToml(path string, value interface{}) error

SaveToml save given structure in toml format into file located at given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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