From 4a42a4465c8ff5496229f8883b9d1532bf7c9cab Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sun, 7 Apr 2024 09:53:04 +0300 Subject: Feat: db connection and migrations --- config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/config.go b/config/config.go index 135df95..e2225d8 100644 --- a/config/config.go +++ b/config/config.go @@ -11,6 +11,7 @@ type Config struct { ServerConfig ServerConfig `mapstructure:"SERVICE"` BaseURL string `mapstructure:"BASE_URL"` SessionLifetime int `mapstructure:"SESSION_LIFETIME_SECONDS"` + DBURI string `mapstructure:"DBURI"` } type ServerConfig struct { -- cgit v1.2.3