Documentation ¶
Index ¶
- type Recruiter
- type Repository
- func (r *Repository) ActivateRecruiterProfile(email string) error
- func (r *Repository) CreateRecruiterProfileBasedOnLastJobPosted(email string, jobRepo *job.Repository) error
- func (r *Repository) RecruiterProfileByEmail(email string) (Recruiter, error)
- func (r *Repository) RecruiterProfileByID(id string) (Recruiter, error)
- func (r *Repository) RecruiterProfilePlanExpiration(email string) (time.Time, error)
- func (r *Repository) SaveRecruiterProfile(dev Recruiter) error
- func (r *Repository) UpdateRecruiterPlanExpiration(email string, expiredAt time.Time) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *sql.DB) *Repository
func (*Repository) ActivateRecruiterProfile ¶
func (r *Repository) ActivateRecruiterProfile(email string) error
func (*Repository) CreateRecruiterProfileBasedOnLastJobPosted ¶
func (r *Repository) CreateRecruiterProfileBasedOnLastJobPosted(email string, jobRepo *job.Repository) error
func (*Repository) RecruiterProfileByEmail ¶
func (r *Repository) RecruiterProfileByEmail(email string) (Recruiter, error)
func (*Repository) RecruiterProfileByID ¶
func (r *Repository) RecruiterProfileByID(id string) (Recruiter, error)
func (*Repository) RecruiterProfilePlanExpiration ¶
func (r *Repository) RecruiterProfilePlanExpiration(email string) (time.Time, error)
func (*Repository) SaveRecruiterProfile ¶
func (r *Repository) SaveRecruiterProfile(dev Recruiter) error
func (*Repository) UpdateRecruiterPlanExpiration ¶
func (r *Repository) UpdateRecruiterPlanExpiration(email string, expiredAt time.Time) error
Click to show internal directories.
Click to hide internal directories.