downloader/api/internal/app/configuration/config.go

15 lines
318 B
Go
Raw Normal View History

2021-12-22 01:22:33 +01:00
package configuration
import "github.com/ovh/configstore"
func SetupDevelopmentConfigProvider() {
configstore.Env("DOWNLOADER_")
configstore.File("config.development.cfg")
configstore.File("features.cfg")
}
func SetupProductionConfigProvider() {
configstore.Env("DOWNLOADER_")
configstore.File("config.cfg")
}