Versions in this module Expand all Collapse all v0 v0.2.0 Feb 9, 2024 Changes in this version + func Error(c *Ctx, statusCode int, err error) error + func RegisterAPICheckRouter(routerType string, f func(fiber.Router)) + func RegisterRootNoCheckRouter(routerType string, f func(fiber.Router)) v0.1.0 Dec 10, 2023 Changes in this version + func AutoMigrate(dbs []*gorm.DB) + func CheckPassword(password, plain string) bool + func DateFormat(t time.Time, layout string) string + func GetErrors() []string + func GetMessages() []string + func HTMXRedirectTo(HXURL string, HXGETURL string, c *fiber.Ctx) error + func HashPassword(password string) string + func I32(c *Ctx, key string, defaultValue ...string) int32 + func I64(c *Ctx, key string, defaultValue ...string) int64 + func IP(c *Ctx) string + func Int(c *Ctx, key string, defaultValue ...string) int + func Lang() string + func Msg(c *Ctx, code int, msg string) error + func Now() time.Time + func ParseDate(date string) time.Time + func PushError(err string) + func PushMessages(msg string) + func RegisterAdminCheckRouter(routerType string, f func(fiber.Router)) + func RegisterCheckRouter(routerType string, f func(fiber.Router)) + func RegisterDatabase(dbType string, f func([]*gorm.DB)) + func RegisterNoCheckRouter(routerType string, f func(fiber.Router)) + func Render(c *Ctx, name string, bind interface{}, layouts ...string) error + func SetLang(l string) + func SetZoneOffset(offset int) + func SetupDatabase(dbs []*gorm.DB) + func SetupRouter(app *fiber.App) + func Str(c *Ctx, key string, defaultValue ...string) string + func U32(c *Ctx, key string, defaultValue ...string) uint32 + func U64(c *Ctx, key string, defaultValue ...string) uint64 + func Uint(c *Ctx, key string, defaultValue ...string) uint + func Validate(i interface{}) error + type Ctx = fiber.Ctx