azote-backend/api/api.go

14 lines
232 B
Go
Raw Normal View History

2024-01-16 00:36:49 +01:00
package api
import "github.com/gin-gonic/gin"
var Router *gin.Engine
var Files *gin.RouterGroup
var Api *gin.RouterGroup
func CreateRouter() {
Router = gin.Default()
Files = Router.Group("/files")
Api = Router.Group("/api")
}