Versions in this module Expand all Collapse all v0 v0.6.4 Dec 30, 2025 v0.6.3 Dec 30, 2025 v0.6.2 Dec 30, 2025 v0.6.1 Dec 30, 2025 v0.6.0 Dec 29, 2025 v0.5.1 Dec 23, 2025 v0.5.0 Dec 23, 2025 v0.4.10 Sep 24, 2025 v0.4.9 Sep 24, 2025 v0.4.8 Sep 16, 2025 v0.4.7 Sep 16, 2025 v0.4.6 Sep 11, 2025 v0.4.5 Sep 3, 2025 v0.4.4 Aug 28, 2025 v0.4.3 Aug 8, 2025 v0.4.2 Aug 6, 2025 v0.4.1 Jul 29, 2025 v0.4.0 Jul 16, 2025 Changes in this version + func ConnectSQLDb(ctx context.Context, config *config.Config, sugar *zap.SugaredLogger) (*gorm.DB, error) + func MigrateDown(db *gorm.DB) error + func MigrateUp(db *gorm.DB) error + type Heartbeat struct + CreatedAt time.Time + UUID uuid.UUID + type ListResponse struct + Data []T + Limit int + Page int + Total int64 + TotalPages int + func NewListResponse[T any](data []T, total int64, page, limit int) *ListResponse[T] + type PaginationConfig struct + DefaultLimit int + MaxLimit int + func NewPaginationConfig() *PaginationConfig + func (cfg *PaginationConfig) ParseParams(ctx echo.Context) (*PaginationParams, error) + type PaginationParams struct + Limit int + Offset int + Page int