mirror of
https://codeberg.org/SafeTwitch/safetwitch-backend.git
synced 2025-02-01 17:18:46 -05:00
16 lines
236 B
Go
16 lines
236 B
Go
|
package users
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
)
|
||
|
|
||
|
func Routes(route *gin.Engine) {
|
||
|
auth := route.Group("/users")
|
||
|
|
||
|
auth.GET("/test", func(context *gin.Context) {
|
||
|
context.JSON(200, gin.H{
|
||
|
"message": "i'm working!",
|
||
|
})
|
||
|
})
|
||
|
}
|