viperconfig

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package viperconfig provides a shared *viper.Viper instance for configuration management. This module enables decentralized configuration where each module can load its own configuration from the shared Viper instance.

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Provide(NewViper)

Module provides the Viper configuration module to the application.

Functions

func NewViper

func NewViper() (*viper.Viper, error)

NewViper creates and configures a new Viper instance. It automatically: - Looks for config.yaml in the current directory - Enables environment variable overrides with automatic key replacement - Supports nested configuration keys via dot notation

Types

This section is empty.

Jump to

Keyboard shortcuts

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