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.

15 lines
341 B
Go

package home
2 years ago
import (
"github.com/ajikamaludin/go-fiber-rest/app/configs"
2 years ago
"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,
"name": configs.GetInstance().Appconfig.Name,
2 years ago
})
}