Versions in this module Expand all Collapse all v9 v9.1.0 Jan 26, 2024 v9.0.0 Oct 27, 2023 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 Other modules containing this package github.com/gazebo-web/gz-go/v10 github.com/gazebo-web/gz-go/v7 github.com/gazebo-web/gz-go/v8