summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-04-07 09:53:04 +0300
committerGrailFinder <wohilas@gmail.com>2024-04-07 09:53:04 +0300
commit4a42a4465c8ff5496229f8883b9d1532bf7c9cab (patch)
treee0cbccdfe6a770cbbdecee2e2176ee697997229e /config/config.go
parentb662265234d70d648a7adce74f3d9cc245456d3a (diff)
Feat: db connection and migrations
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
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 {