From dcb167c10dc9e8dfa032254c2dbcf0a3c7bbc2ad Mon Sep 17 00:00:00 2001 From: Luis Serra <74016165+luis-serra-ki@users.noreply.github.com> Date: Mon, 28 Mar 2022 21:43:00 +0100 Subject: [PATCH] Update cmd/database.go Co-authored-by: Huang Huang --- cmd/database.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/database.go b/cmd/database.go index 2424b7c..3e170f0 100644 --- a/cmd/database.go +++ b/cmd/database.go @@ -20,9 +20,6 @@ type PsqlConnInfo struct { Password string Schema string } - -var db *gorm.DB - func getPsqlConnInfo() (PsqlConnInfo, error) { var host string if value := viper.GetString("PGSQL_HOST"); value != "" {