add backend tpl
This commit is contained in:
7
backend_v1/modules/frontend/medias/actions.go
Normal file
7
backend_v1/modules/frontend/medias/actions.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package medias
|
||||
|
||||
import "github.com/gofiber/fiber/v3"
|
||||
|
||||
func GetMedias(c fiber.Ctx) error {
|
||||
return c.SendString("medias")
|
||||
}
|
||||
7
backend_v1/modules/frontend/medias/routes.go
Normal file
7
backend_v1/modules/frontend/medias/routes.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package medias
|
||||
|
||||
import "github.com/gofiber/fiber/v3"
|
||||
|
||||
func RegisterRoutes(app fiber.App) {
|
||||
app.Get("/medias", GetMedias)
|
||||
}
|
||||
Reference in New Issue
Block a user