Documentation ¶
Index ¶
- type FileRepository
- type UserRepository
- type UserRepositoryImpl
- func (r *UserRepositoryImpl) Create(user *models.User) error
- func (r *UserRepositoryImpl) Delete(id int64) error
- func (r *UserRepositoryImpl) GetAll() ([]models.User, error)
- func (r *UserRepositoryImpl) GetById(id int64) (*models.User, error)
- func (r *UserRepositoryImpl) Update(user *models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileRepository ¶
type UserRepository ¶
type UserRepositoryImpl ¶
type UserRepositoryImpl struct {
// contains filtered or unexported fields
}
func (*UserRepositoryImpl) Delete ¶
func (r *UserRepositoryImpl) Delete(id int64) error
Click to show internal directories.
Click to hide internal directories.