chrly/internal/di/config.go

11 lines
139 B
Go
Raw Normal View History

2020-04-16 19:42:38 +03:00
package di
import (
2023-12-13 17:29:12 +01:00
"github.com/defval/di"
2020-04-16 19:42:38 +03:00
"github.com/spf13/viper"
)
var configDiOptions = di.Options(
di.Provide(viper.GetViper),
2020-04-16 19:42:38 +03:00
)