Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntgoRepository ¶
type EntgoRepository struct {
// contains filtered or unexported fields
}
func NewEntgoRepository ¶
func NewEntgoRepository( client *ent.Client, logger *logger.Logger, ) *EntgoRepository
func (*EntgoRepository) CreateUser ¶
func (*EntgoRepository) GetUserByUsername ¶
func (r *EntgoRepository) GetUserByUsername(username string) (*domain.User, error)
func (*EntgoRepository) GetUserCount ¶
func (r *EntgoRepository) GetUserCount() (int, error)
Click to show internal directories.
Click to hide internal directories.