config

package
v0.0.0-...-71dbe48 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(New, NewConfig)

Functions

func New

func New() (*koanf.Koanf, error)

Types

type Config

type Config struct {
	DSN string `koanf:"dsn"`
	ENV string `koanf:"env"`
}

func NewConfig

func NewConfig(k *koanf.Koanf) (*Config, error)

Jump to

Keyboard shortcuts

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