Documentation
¶
Overview ¶
Package utilities provides shared configuration-loading helpers for the config module.
Its main responsibility is to load application settings from resources/application.yml, resources/application.yaml, or resources/application.json, merge .env and .env.local files, and apply environment-variable overrides derived from the Viper key paths.
LoadEnv also accepts a directory that contains application.* directly for compatibility with modules that keep local example configuration beside their code.
Main entry point:
- LoadEnv to load configuration files and apply override rules
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetModeTest ¶ added in v0.0.79
func SetModeTest()
SetModeTest configures shared packages for test execution.
It enables logger test mode, switches Gin to test mode, and sets Viper defaults that disable behaviors not needed during tests.
Types ¶
This section is empty.