config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(out any) error

LoadConfig loads configuration from environment variables (and a .env file if present) into the struct pointed to by out, using "mapstructure" tags. Supported extra tags: "default" (fallback value) and "required" ("true"). out must be a non-nil pointer to a struct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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