cfgutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(out interface{}, stage string) error

Load loads configuration with priority order: 1. OS environment variables (highest priority) 2. .env.local file 3. .env file (lowest priority)

func LoadConfig

func LoadConfig(out interface{}, appName, stage string) error

LoadConfig loads configuration from .env file

func LoadLocalENV

func LoadLocalENV(stage string) error

LoadLocalENV reads .env* files and sets the values to os ENV Priority order (highest to lowest): 1. Existing OS environment variables (not overwritten) 2. .env.local file 3. .env file

Types

This section is empty.

Jump to

Keyboard shortcuts

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