configx

package
v0.0.0-...-8b900e1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigFromFile

func LoadConfigFromFile(filename string, v any, listen bool) error

LoadConfigFromFile loads the configuration from a file.

It takes the following parameters: - filename (string): the name of the file to load the configuration from. - v (any): the configuration structure to populate with the loaded data. - listen (bool): a flag indicating whether to listen for configuration changes. It returns an error if there was a problem loading the configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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