Documentation ¶
Index ¶
- Variables
- type UserPostrgesRepo
- func (a *UserPostrgesRepo) Delete(id uint) error
- func (a *UserPostrgesRepo) GetSize() (int, error)
- func (a *UserPostrgesRepo) Insert(user *domain.User) error
- func (a *UserPostrgesRepo) SelectByEmail(email string) (*domain.User, error)
- func (a *UserPostrgesRepo) SelectByID(id uint) (*domain.User, error)
- func (a *UserPostrgesRepo) SelectByUsername(username string) (*domain.User, error)
- func (a *UserPostrgesRepo) Update(id uint, user *domain.User) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type UserPostrgesRepo ¶
func (*UserPostrgesRepo) Delete ¶
func (a *UserPostrgesRepo) Delete(id uint) error
func (*UserPostrgesRepo) GetSize ¶
func (a *UserPostrgesRepo) GetSize() (int, error)
func (*UserPostrgesRepo) SelectByEmail ¶
func (a *UserPostrgesRepo) SelectByEmail(email string) (*domain.User, error)
func (*UserPostrgesRepo) SelectByID ¶
func (a *UserPostrgesRepo) SelectByID(id uint) (*domain.User, error)
func (*UserPostrgesRepo) SelectByUsername ¶
func (a *UserPostrgesRepo) SelectByUsername(username string) (*domain.User, error)
Click to show internal directories.
Click to hide internal directories.