Remove db package code that was used as example and testing

This commit is contained in:
qowevisa 2024-08-03 08:17:18 +03:00
parent 6c2032dd42
commit 20c3beef53

View File

@ -1,12 +1,9 @@
package main package main
import ( import (
"fmt"
"github.com/swaggo/files" "github.com/swaggo/files"
"github.com/swaggo/gin-swagger" "github.com/swaggo/gin-swagger"
"git.qowevisa.me/Qowevisa/gonuts/db"
docs "git.qowevisa.me/Qowevisa/gonuts/docs" docs "git.qowevisa.me/Qowevisa/gonuts/docs"
"git.qowevisa.me/Qowevisa/gonuts/handlers" "git.qowevisa.me/Qowevisa/gonuts/handlers"
"git.qowevisa.me/Qowevisa/gonuts/tokens" "git.qowevisa.me/Qowevisa/gonuts/tokens"
@ -28,10 +25,6 @@ import (
// @host localhost:3000 // @host localhost:3000
// @BasePath /api // @BasePath /api
func main() { func main() {
dbc := db.Connect()
if dbc != nil {
fmt.Printf("yay\n")
}
r := gin.Default() r := gin.Default()
docs.SwaggerInfo.BasePath = "/api" docs.SwaggerInfo.BasePath = "/api"