utils

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyConfigFile

func ApplyConfigFile(filePath string, options ...interface{}) error

func ApplyDefaultValues

func ApplyDefaultValues(struct_ interface{}) (err error)

func ApplyFlags

func ApplyFlags(
	flags []cli.Flag,
	mappingHint map[string]string,
	c *cli.Context,
	options ...interface{},
)

func GenerateFlags

func GenerateFlags(options ...interface{}) (flags []cli.Flag, mappings map[string]string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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