config_helper

package
v1.2.13-alpha0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidArgument     = errors.New("invalid argument")
	ErrExpectedKeyNotFound = errors.New("expected key not found")
)

Functions

func FlattenConfigOption added in v1.2.0

func FlattenConfigOption(m map[string]interface{}, a ...interface{}) []interface{}

func FoldConfigOption added in v1.2.4

func FoldConfigOption(xs []interface{}, t string) (map[string]interface{}, error)

func ParseConfigOption

func ParseConfigOption(k string, m map[string]interface{}, a ...interface{}) (string, []interface{}, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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