feat: registered file based routing

This commit is contained in:
grngxd 2025-05-05 14:06:15 +01:00
parent 69e3133563
commit f2e666874d
2 changed files with 17 additions and 18 deletions

View file

@ -0,0 +1,13 @@
package routes
import (
"net/http"
"github.com/gin-gonic/gin"
)
func RegisterPingRoutes(api *gin.RouterGroup) {
api.GET("/ping", func(c *gin.Context) {
c.String(http.StatusOK, "Pong!")
})
}