u
This commit is contained in:
1 parent
f373cf956d
commit
91ec5e268c
12 files changed
+114
-64
No files matched your search
@@ -7,5 +7,5 @@ import (
|
||||
|
||||
func InitTest(r *router.Router) {
|
||||
group := r.Group("/test")
|
||||
group.GET("/", handle.Test)
|
||||
group.GET("/", handle.TestDB)
|
||||
}
|
||||
@@ -1,14 +1,8 @@
|
||||
package handle
|
||||
|
||||
import (
|
||||
"base-framework/pkg/reponse"
|
||||
"base-framework/pkg/router"
|
||||
"base-framework/pkg/utils/db"
|
||||
)
|
||||
|
||||
func Test(c *router.Context) {
|
||||
dbClient := db.NewClient(c)
|
||||
if dbClient == nil {
|
||||
return
|
||||
}
|
||||
func TestDB(c *router.Context) {
|
||||
}
|
||||
Reference in new issue
Block a user