mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2024-12-22 21:23:01 -05:00
15 lines
278 B
Go
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))
|
|
})
|
|
}
|