update kontor-fiber to use Go Fiber v3
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package handler
|
||||
|
||||
import "github.com/gofiber/fiber/v2"
|
||||
import "github.com/gofiber/fiber/v3"
|
||||
|
||||
func GetHealth(c *fiber.Ctx) error {
|
||||
func GetHealth(c fiber.Ctx) error {
|
||||
return c.Status(200).JSON(&fiber.Map{
|
||||
"status": "ok",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user