From 20c3beef534e915166828a8707567db15695508d Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 3 Aug 2024 08:17:18 +0300 Subject: [PATCH] Remove db package code that was used as example and testing --- cmd/http-server/main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/http-server/main.go b/cmd/http-server/main.go index 8674fc1..1bd2cb5 100644 --- a/cmd/http-server/main.go +++ b/cmd/http-server/main.go @@ -1,12 +1,9 @@ package main import ( - "fmt" - "github.com/swaggo/files" "github.com/swaggo/gin-swagger" - "git.qowevisa.me/Qowevisa/gonuts/db" docs "git.qowevisa.me/Qowevisa/gonuts/docs" "git.qowevisa.me/Qowevisa/gonuts/handlers" "git.qowevisa.me/Qowevisa/gonuts/tokens" @@ -28,10 +25,6 @@ import ( // @host localhost:3000 // @BasePath /api func main() { - dbc := db.Connect() - if dbc != nil { - fmt.Printf("yay\n") - } r := gin.Default() docs.SwaggerInfo.BasePath = "/api"