review test database and fix config restserver

This commit is contained in:
Shuhrat Tultaganov committed 2023-01-03 19:27:10 +03:00
1 parent d379223517
commit f5a652c13b
10 files changed
+17 -8

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import (
"log"
"git.ukamnya.ru/stulyaganov/RestApi/internal/restserver"
"github.com/joho/godotenv"
)
var (
@@ -18,6 +19,7 @@ func init() {
func main() {
flag.Parse()
godotenv.Load(".env")
config := restserver.NewConfig()
if err := config.SetConfig(configPath); err != nil {