repositories

package
v1.4.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepository

type UserRepository struct {
	orm.IEloquent[models.User]
}

func NewUserRepository

func NewUserRepository() *UserRepository

func (*UserRepository) GetOverage

func (repo *UserRepository) GetOverage(age int) (users []*models.User, err error)

func (*UserRepository) GetUnderage

func (repo *UserRepository) GetUnderage(age int) (users []*models.User, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL