config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig(config any, configFile string) error

GetConfig reads the configuration file

func MergeConfig

func MergeConfig(config any, flatConfig map[string]any) error

MergeConfig merges configuration fields expressed as a flat map. Nested fileds are written as "Logging.Level".

func SaveConfig

func SaveConfig(config any, configFile string) error

SaveConfig saves the configuration file

Types

This section is empty.

Jump to

Keyboard shortcuts

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