recruiter

package
v0.0.0-...-80e8cda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recruiter

type Recruiter struct {
	ID            string
	Name          string
	Email         string
	Title         string
	Company       string
	CompanyURL    string
	Slug          string
	CreatedAt     time.Time
	UpdatedAt     time.Time
	PlanExpiredAt time.Time
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL