config

package
v0.0.0-...-b0d25e1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(section string) (interface{}, error)

Get value by section and merge defaults

func GetAllDefaults

func GetAllDefaults() map[string]interface{}

func GetDefault

func GetDefault(section string) interface{}

func LoadBytes

func LoadBytes(data []byte) error

func LoadConfig

func LoadConfig(loc string) error

func SetDefault

func SetDefault(path string, defaults interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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