config

package
v0.0.0-...-0ba43c2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(opts *LoadOpts) (*viper.Viper, error)

func Provide

func Provide(container *dig.Container, cfg *viper.Viper) error

Types

type LoadOpts

type LoadOpts struct {
	// contains filtered or unexported fields
}

func NewLoadOpts

func NewLoadOpts() *LoadOpts

func (*LoadOpts) WithEnv

func (opts *LoadOpts) WithEnv(val string) *LoadOpts

Jump to

Keyboard shortcuts

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