0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2024-12-22 21:23:01 -05:00
safetwitch-backend/routes/root/root.go
2023-05-25 21:04:15 -04:00

15 lines
278 B
Go

package root
import (
"safetwitch-backend/extractor"
"github.com/gin-gonic/gin"
)
func Routes(route *gin.Engine) {
auth := route.Group("/")
auth.GET("/", func(context *gin.Context) {
context.JSON(200, extractor.FormatMessage("SafeTwitch backend running", true))
})
}