settings

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SETTINGS_FILE string = "settings.develop.yaml"
)

Variables

This section is empty.

Functions

func Get

func Get() any

func Load

func Load(basePath string, properties any) error

Load loads settings from settings file located in resources directory under the given base path. The loaded settings are unmarshaled into the given properties argument. The properties argument must be a non-nil pointer to a struct.

Set basePath to empty string to use the current directory as base path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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