Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface { Create(freelancer *model.Freelancer) error Find(int64) (*model.ExtendFreelancer, *model.FreelancerContracts, error) FindByUser(int64) (*model.Freelancer, error) Edit(freelancer *model.Freelancer) error ListOnPattern(string, model.SearchParams) ([]model.ExtendFreelancer, error) FindPartByTime(int, int) ([]model.ExtendFreelancer, error) }
type Usecase ¶
type Usecase interface { Create(int64) (*model.Freelancer, error) FindByUser(int64) (*model.FreelancerOutput, error) Find(int64) (*model.ExtendedOutputFreelancer, *model.FreelancerContracts, error) Edit(int64, *model.Freelancer) error PatternSearch(string, model.SearchParams) ([]model.ExtendFreelancer, error) FindPart(int, int) ([]model.ExtendFreelancer, error) FindNoLocation(int64) (*model.ExtendFreelancer, error) FindNoLocationByUser(id int64) (*model.Freelancer, error) GetRating(id int64) (int64, error) }
Click to show internal directories.
Click to hide internal directories.