config

package
v0.3.20 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReservedKeys = []string{"Value", "Val", "V"}

Functions

This section is empty.

Types

type Config

type Config struct {
	Values     Values
	Inplace    bool
	Prefix     string
	LeftDelim  string
	RightDelim string
	Indent     int
	Fail       bool
	Log        *log.Entry
	Strip      bool
}

func New

func New() Config

type Values

type Values map[string]any

func (Values) Fill

func (values Values) Fill(rawValues map[string]string)

func (Values) SetNested

func (values Values) SetNested(v any, k ...string)

func (Values) V

func (values Values) V() any

func (Values) Val

func (values Values) Val() any

Jump to

Keyboard shortcuts

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