interactions yay!!

This commit is contained in:
41666 2025-03-25 21:26:24 -07:00
parent b9a05bedf9
commit f60033a3e4
30 changed files with 716 additions and 44 deletions

14
testing/testing.go Normal file
View file

@ -0,0 +1,14 @@
package testing
import "github.com/gofiber/fiber/v3"
type TestingController struct{}
func (t *TestingController) Routes(r fiber.Router) {
r.Get("/picker/:version?", t.Picker)
}
func (t *TestingController) Picker(c fiber.Ctx) error {
version := c.Params("version", "main")
return c.Render("picker/"+version, fiber.Map{})
}