Setup boilerplate gorm , and admin part

This commit is contained in:
Nedim
2023-09-04 11:13:21 +02:00
parent eb4303bb08
commit 62de1401e5
17 changed files with 698 additions and 86 deletions

18
routes/utilityRoutes.go Normal file
View File

@@ -0,0 +1,18 @@
/**
* Created by VoidArtanis on 10/22/2017
*/
package routes
import "github.com/gin-gonic/gin"
func RegisterUtilityRoutes(r *gin.Engine){
registerRing(r)
}
func registerRing(r *gin.Engine){
// Ping test
r.GET("/ping", func(c *gin.Context) {
c.String(200, "pong")
})
}