Remove db package code that was used as example and testing
This commit is contained in:
parent
6c2032dd42
commit
20c3beef53
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user