Documentation
¶
Index ¶
- type PersistRepository
- func (r *PersistRepository) Create(ctx context.Context, account *models.Account) error
- func (r *PersistRepository) GetByEmail(ctx context.Context, email string) (*models.Account, error)
- func (r *PersistRepository) GetById(ctx context.Context, id int64) (*models.Account, error)
- func (r *PersistRepository) GetByMobile(ctx context.Context, mobile string) (*models.Account, error)
- func (r *PersistRepository) IsEmailExist(ctx context.Context, email string) (bool, error)
- func (r *PersistRepository) IsMobileExist(ctx context.Context, mobile string) (bool, error)
- func (r *PersistRepository) ModifyPassword(ctx context.Context, account *models.Account) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistRepository ¶
type PersistRepository struct{}
func New ¶
func New() *PersistRepository
func (*PersistRepository) GetByEmail ¶
func (*PersistRepository) GetByMobile ¶
func (*PersistRepository) IsEmailExist ¶
func (*PersistRepository) IsMobileExist ¶
func (*PersistRepository) ModifyPassword ¶
Click to show internal directories.
Click to hide internal directories.