Versions in this module Expand all Collapse all v10 v10.1.0 Mar 8, 2024 v10.0.0 Feb 21, 2024 Changes in this version + func Fields(fields ...string) repository.Option + func GroupBy(fields ...string) repository.Option + func MaxResults(n int) repository.Option + func NewRepository(db *gorm.DB, entity repository.Model) repository.Repository + func Offset(offset int) repository.Option + func OrderBy(orders ...OrderByField) repository.Option + func Preload(field string, filter ...interface{}) repository.Option + func Where(template string, values ...interface{}) repository.Option + type Model struct + CreatedAt time.Time + DeletedAt *time.Time + ID uint + UpdatedAt time.Time + func (m Model) GetID() uint + type Option func(r *gorm.DB) + func (l Option) IsOption() + type OrderByField string + func Ascending(field string) OrderByField + func Descending(field string) OrderByField v10.0.0-dev Feb 21, 2024 Other modules containing this package github.com/gazebo-web/gz-go/v7 github.com/gazebo-web/gz-go/v8 github.com/gazebo-web/gz-go/v9