You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
242 B
Go
13 lines
242 B
Go
2 years ago
|
package handlers
|
||
|
|
||
|
import (
|
||
|
"github.com/ajikamaludin/go-fiber-rest/pkg/utils/constants"
|
||
|
"github.com/gofiber/fiber/v2"
|
||
|
)
|
||
|
|
||
|
func Home(c *fiber.Ctx) error {
|
||
|
return c.Status(fiber.StatusOK).JSON(fiber.Map{
|
||
|
"status": constants.STATUS_OK,
|
||
|
})
|
||
|
}
|