Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAO ¶
type DAO interface { // Create user Create(ctx context.Context, user *models.User) (*models.User, error) ListByEmail(ctx context.Context, emails []string) ([]*models.User, error) GetByIDs(ctx context.Context, userID []uint) ([]*models.User, error) List(ctx context.Context, query *q.Query) (int64, []*models.User, error) GetByID(ctx context.Context, id uint) (*models.User, error) UpdateByID(ctx context.Context, id uint, newUser *models.User) (*models.User, error) GetUserByIDP(ctx context.Context, email string, idp string) (*models.User, error) DeleteUser(ctx context.Context, id uint) error }
Click to show internal directories.
Click to hide internal directories.