config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterParsing

func AfterParsing(namespace string, c *cli.Context, conf interface{})

func GetDefaultFlags

func GetDefaultFlags(namespace string, cfg interface{}) (f []cli.Flag)

func Init

func Init(configPath string, config interface{})

func Validate

func Validate(config interface{}) (err error)

Types

type SlicePointerDestination

type SlicePointerDestination struct {
	Pointer reflect.Value
	Value   interface{}
	Name    string
}

Jump to

Keyboard shortcuts

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