Documentation ¶
Overview ¶
Package repository_mocks is a generated GoMock package.
Package repository_mocks is a generated GoMock package.
Package repository_mocks is a generated GoMock package.
Package repository_mocks is a generated GoMock package.
Package repository_mocks is a generated GoMock package.
Package repository_mocks is a generated GoMock package.
Package repository_mocks is a generated GoMock package.
Index ¶
- type MockCompanyRepository
- type MockCompanyRepositoryMockRecorder
- type MockContractRepository
- func (m *MockContractRepository) Create(contract *model.Contract) error
- func (m *MockContractRepository) EXPECT() *MockContractRepositoryMockRecorder
- func (m *MockContractRepository) Edit(contract *model.Contract) error
- func (m *MockContractRepository) Find(arg0 int64) (*model.Contract, error)
- func (m *MockContractRepository) List(arg0 int64, arg1 string) ([]model.Contract, error)
- type MockContractRepositoryMockRecorder
- func (mr *MockContractRepositoryMockRecorder) Create(contract interface{}) *gomock.Call
- func (mr *MockContractRepositoryMockRecorder) Edit(contract interface{}) *gomock.Call
- func (mr *MockContractRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockContractRepositoryMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- type MockFreelancerRepository
- func (m *MockFreelancerRepository) Create(freelancer *model.Freelancer) error
- func (m *MockFreelancerRepository) EXPECT() *MockFreelancerRepositoryMockRecorder
- func (m *MockFreelancerRepository) Edit(freelancer *model.Freelancer) error
- func (m *MockFreelancerRepository) Find(arg0 int64) (*model.Freelancer, error)
- func (m *MockFreelancerRepository) FindByUser(arg0 int64) (*model.Freelancer, error)
- func (m *MockFreelancerRepository) ListOnPattern(arg0 string) ([]model.ExtendFreelancer, error)
- type MockFreelancerRepositoryMockRecorder
- func (mr *MockFreelancerRepositoryMockRecorder) Create(freelancer interface{}) *gomock.Call
- func (mr *MockFreelancerRepositoryMockRecorder) Edit(freelancer interface{}) *gomock.Call
- func (mr *MockFreelancerRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockFreelancerRepositoryMockRecorder) FindByUser(arg0 interface{}) *gomock.Call
- func (mr *MockFreelancerRepositoryMockRecorder) ListOnPattern(arg0 interface{}) *gomock.Call
- type MockJobRepository
- func (m *MockJobRepository) Create(j *model.Job) error
- func (m *MockJobRepository) EXPECT() *MockJobRepositoryMockRecorder
- func (m *MockJobRepository) Edit(job *model.Job) error
- func (m *MockJobRepository) Find(arg0 int64) (*model.Job, error)
- func (m *MockJobRepository) List() ([]model.Job, error)
- func (m *MockJobRepository) ListOnPattern(arg0 string) ([]model.Job, error)
- type MockJobRepositoryMockRecorder
- func (mr *MockJobRepositoryMockRecorder) Create(j interface{}) *gomock.Call
- func (mr *MockJobRepositoryMockRecorder) Edit(job interface{}) *gomock.Call
- func (mr *MockJobRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockJobRepositoryMockRecorder) List() *gomock.Call
- func (mr *MockJobRepositoryMockRecorder) ListOnPattern(arg0 interface{}) *gomock.Call
- type MockManagerRepository
- func (m *MockManagerRepository) Create(manager *model.HireManager) error
- func (m *MockManagerRepository) EXPECT() *MockManagerRepositoryMockRecorder
- func (m *MockManagerRepository) Edit(manager *model.HireManager) error
- func (m *MockManagerRepository) Find(arg0 int64) (*model.HireManager, error)
- func (m *MockManagerRepository) FindByUser(arg0 int64) (*model.HireManager, error)
- type MockManagerRepositoryMockRecorder
- func (mr *MockManagerRepositoryMockRecorder) Create(manager interface{}) *gomock.Call
- func (mr *MockManagerRepositoryMockRecorder) Edit(manager interface{}) *gomock.Call
- func (mr *MockManagerRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockManagerRepositoryMockRecorder) FindByUser(arg0 interface{}) *gomock.Call
- type MockResponseRepository
- func (m *MockResponseRepository) Create(response *model.Response) error
- func (m *MockResponseRepository) EXPECT() *MockResponseRepositoryMockRecorder
- func (m *MockResponseRepository) Edit(response *model.Response) error
- func (m *MockResponseRepository) Find(arg0 int64) (*model.Response, error)
- func (m *MockResponseRepository) ListForFreelancer(arg0 int64) ([]model.Response, error)
- func (m *MockResponseRepository) ListForManager(arg0 int64) ([]model.Response, error)
- func (m *MockResponseRepository) ListResponsesOnJobID(jobID int64) ([]model.ExtendResponse, error)
- type MockResponseRepositoryMockRecorder
- func (mr *MockResponseRepositoryMockRecorder) Create(response interface{}) *gomock.Call
- func (mr *MockResponseRepositoryMockRecorder) Edit(response interface{}) *gomock.Call
- func (mr *MockResponseRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockResponseRepositoryMockRecorder) ListForFreelancer(arg0 interface{}) *gomock.Call
- func (mr *MockResponseRepositoryMockRecorder) ListForManager(arg0 interface{}) *gomock.Call
- func (mr *MockResponseRepositoryMockRecorder) ListResponsesOnJobID(jobID interface{}) *gomock.Call
- type MockUserRepository
- func (m *MockUserRepository) Create(user *model.User) error
- func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
- func (m *MockUserRepository) Edit(user *model.User) error
- func (m *MockUserRepository) Find(arg0 int64) (*model.User, error)
- func (m *MockUserRepository) FindByEmail(arg0 string) (*model.User, error)
- type MockUserRepositoryMockRecorder
- func (mr *MockUserRepositoryMockRecorder) Create(user interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Edit(user interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *MockUserRepositoryMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCompanyRepository ¶
type MockCompanyRepository struct {
// contains filtered or unexported fields
}
MockCompanyRepository is a mock of Repository interface
func NewMockCompanyRepository ¶
func NewMockCompanyRepository(ctrl *gomock.Controller) *MockCompanyRepository
NewMockCompanyRepository creates a new mock instance
func (*MockCompanyRepository) Create ¶
func (m *MockCompanyRepository) Create(company *model.Company) error
Create mocks base method
func (*MockCompanyRepository) EXPECT ¶
func (m *MockCompanyRepository) EXPECT() *MockCompanyRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCompanyRepositoryMockRecorder ¶
type MockCompanyRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCompanyRepositoryMockRecorder is the mock recorder for MockCompanyRepository
func (*MockCompanyRepositoryMockRecorder) Create ¶
func (mr *MockCompanyRepositoryMockRecorder) Create(company interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCompanyRepositoryMockRecorder) Edit ¶
func (mr *MockCompanyRepositoryMockRecorder) Edit(company interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockCompanyRepositoryMockRecorder) Find ¶
func (mr *MockCompanyRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
type MockContractRepository ¶
type MockContractRepository struct {
// contains filtered or unexported fields
}
MockContractRepository is a mock of Repository interface
func NewMockContractRepository ¶
func NewMockContractRepository(ctrl *gomock.Controller) *MockContractRepository
NewMockContractRepository creates a new mock instance
func (*MockContractRepository) Create ¶
func (m *MockContractRepository) Create(contract *model.Contract) error
Create mocks base method
func (*MockContractRepository) EXPECT ¶
func (m *MockContractRepository) EXPECT() *MockContractRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContractRepository) Edit ¶
func (m *MockContractRepository) Edit(contract *model.Contract) error
Edit mocks base method
type MockContractRepositoryMockRecorder ¶
type MockContractRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockContractRepositoryMockRecorder is the mock recorder for MockContractRepository
func (*MockContractRepositoryMockRecorder) Create ¶
func (mr *MockContractRepositoryMockRecorder) Create(contract interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockContractRepositoryMockRecorder) Edit ¶
func (mr *MockContractRepositoryMockRecorder) Edit(contract interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockContractRepositoryMockRecorder) Find ¶
func (mr *MockContractRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockContractRepositoryMockRecorder) List ¶
func (mr *MockContractRepositoryMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
type MockFreelancerRepository ¶
type MockFreelancerRepository struct {
// contains filtered or unexported fields
}
MockFreelancerRepository is a mock of Repository interface
func NewMockFreelancerRepository ¶
func NewMockFreelancerRepository(ctrl *gomock.Controller) *MockFreelancerRepository
NewMockFreelancerRepository creates a new mock instance
func (*MockFreelancerRepository) Create ¶
func (m *MockFreelancerRepository) Create(freelancer *model.Freelancer) error
Create mocks base method
func (*MockFreelancerRepository) EXPECT ¶
func (m *MockFreelancerRepository) EXPECT() *MockFreelancerRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFreelancerRepository) Edit ¶
func (m *MockFreelancerRepository) Edit(freelancer *model.Freelancer) error
Edit mocks base method
func (*MockFreelancerRepository) Find ¶
func (m *MockFreelancerRepository) Find(arg0 int64) (*model.Freelancer, error)
Find mocks base method
func (*MockFreelancerRepository) FindByUser ¶
func (m *MockFreelancerRepository) FindByUser(arg0 int64) (*model.Freelancer, error)
FindByUser mocks base method
func (*MockFreelancerRepository) ListOnPattern ¶
func (m *MockFreelancerRepository) ListOnPattern(arg0 string) ([]model.ExtendFreelancer, error)
ListOnPattern mocks base method
type MockFreelancerRepositoryMockRecorder ¶
type MockFreelancerRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFreelancerRepositoryMockRecorder is the mock recorder for MockFreelancerRepository
func (*MockFreelancerRepositoryMockRecorder) Create ¶
func (mr *MockFreelancerRepositoryMockRecorder) Create(freelancer interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFreelancerRepositoryMockRecorder) Edit ¶
func (mr *MockFreelancerRepositoryMockRecorder) Edit(freelancer interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockFreelancerRepositoryMockRecorder) Find ¶
func (mr *MockFreelancerRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockFreelancerRepositoryMockRecorder) FindByUser ¶
func (mr *MockFreelancerRepositoryMockRecorder) FindByUser(arg0 interface{}) *gomock.Call
FindByUser indicates an expected call of FindByUser
func (*MockFreelancerRepositoryMockRecorder) ListOnPattern ¶
func (mr *MockFreelancerRepositoryMockRecorder) ListOnPattern(arg0 interface{}) *gomock.Call
ListOnPattern indicates an expected call of ListOnPattern
type MockJobRepository ¶
type MockJobRepository struct {
// contains filtered or unexported fields
}
MockJobRepository is a mock of Repository interface
func NewMockJobRepository ¶
func NewMockJobRepository(ctrl *gomock.Controller) *MockJobRepository
NewMockJobRepository creates a new mock instance
func (*MockJobRepository) Create ¶
func (m *MockJobRepository) Create(j *model.Job) error
Create mocks base method
func (*MockJobRepository) EXPECT ¶
func (m *MockJobRepository) EXPECT() *MockJobRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJobRepository) Edit ¶
func (m *MockJobRepository) Edit(job *model.Job) error
Edit mocks base method
func (*MockJobRepository) Find ¶
func (m *MockJobRepository) Find(arg0 int64) (*model.Job, error)
Find mocks base method
func (*MockJobRepository) List ¶
func (m *MockJobRepository) List() ([]model.Job, error)
List mocks base method
func (*MockJobRepository) ListOnPattern ¶
func (m *MockJobRepository) ListOnPattern(arg0 string) ([]model.Job, error)
ListOnPattern mocks base method
type MockJobRepositoryMockRecorder ¶
type MockJobRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockJobRepositoryMockRecorder is the mock recorder for MockJobRepository
func (*MockJobRepositoryMockRecorder) Create ¶
func (mr *MockJobRepositoryMockRecorder) Create(j interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockJobRepositoryMockRecorder) Edit ¶
func (mr *MockJobRepositoryMockRecorder) Edit(job interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockJobRepositoryMockRecorder) Find ¶
func (mr *MockJobRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockJobRepositoryMockRecorder) List ¶
func (mr *MockJobRepositoryMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockJobRepositoryMockRecorder) ListOnPattern ¶
func (mr *MockJobRepositoryMockRecorder) ListOnPattern(arg0 interface{}) *gomock.Call
ListOnPattern indicates an expected call of ListOnPattern
type MockManagerRepository ¶
type MockManagerRepository struct {
// contains filtered or unexported fields
}
MockManagerRepository is a mock of Repository interface
func NewMockManagerRepository ¶
func NewMockManagerRepository(ctrl *gomock.Controller) *MockManagerRepository
NewMockManagerRepository creates a new mock instance
func (*MockManagerRepository) Create ¶
func (m *MockManagerRepository) Create(manager *model.HireManager) error
Create mocks base method
func (*MockManagerRepository) EXPECT ¶
func (m *MockManagerRepository) EXPECT() *MockManagerRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManagerRepository) Edit ¶
func (m *MockManagerRepository) Edit(manager *model.HireManager) error
Edit mocks base method
func (*MockManagerRepository) Find ¶
func (m *MockManagerRepository) Find(arg0 int64) (*model.HireManager, error)
Find mocks base method
func (*MockManagerRepository) FindByUser ¶
func (m *MockManagerRepository) FindByUser(arg0 int64) (*model.HireManager, error)
FindByUser mocks base method
type MockManagerRepositoryMockRecorder ¶
type MockManagerRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerRepositoryMockRecorder is the mock recorder for MockManagerRepository
func (*MockManagerRepositoryMockRecorder) Create ¶
func (mr *MockManagerRepositoryMockRecorder) Create(manager interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockManagerRepositoryMockRecorder) Edit ¶
func (mr *MockManagerRepositoryMockRecorder) Edit(manager interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockManagerRepositoryMockRecorder) Find ¶
func (mr *MockManagerRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockManagerRepositoryMockRecorder) FindByUser ¶
func (mr *MockManagerRepositoryMockRecorder) FindByUser(arg0 interface{}) *gomock.Call
FindByUser indicates an expected call of FindByUser
type MockResponseRepository ¶
type MockResponseRepository struct {
// contains filtered or unexported fields
}
MockResponseRepository is a mock of Repository interface
func NewMockResponseRepository ¶
func NewMockResponseRepository(ctrl *gomock.Controller) *MockResponseRepository
NewMockResponseRepository creates a new mock instance
func (*MockResponseRepository) Create ¶
func (m *MockResponseRepository) Create(response *model.Response) error
Create mocks base method
func (*MockResponseRepository) EXPECT ¶
func (m *MockResponseRepository) EXPECT() *MockResponseRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResponseRepository) Edit ¶
func (m *MockResponseRepository) Edit(response *model.Response) error
Edit mocks base method
func (*MockResponseRepository) Find ¶
func (m *MockResponseRepository) Find(arg0 int64) (*model.Response, error)
Find mocks base method
func (*MockResponseRepository) ListForFreelancer ¶
func (m *MockResponseRepository) ListForFreelancer(arg0 int64) ([]model.Response, error)
ListForFreelancer mocks base method
func (*MockResponseRepository) ListForManager ¶
func (m *MockResponseRepository) ListForManager(arg0 int64) ([]model.Response, error)
ListForManager mocks base method
func (*MockResponseRepository) ListResponsesOnJobID ¶
func (m *MockResponseRepository) ListResponsesOnJobID(jobID int64) ([]model.ExtendResponse, error)
ListResponsesOnJobID mocks base method
type MockResponseRepositoryMockRecorder ¶
type MockResponseRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockResponseRepositoryMockRecorder is the mock recorder for MockResponseRepository
func (*MockResponseRepositoryMockRecorder) Create ¶
func (mr *MockResponseRepositoryMockRecorder) Create(response interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockResponseRepositoryMockRecorder) Edit ¶
func (mr *MockResponseRepositoryMockRecorder) Edit(response interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockResponseRepositoryMockRecorder) Find ¶
func (mr *MockResponseRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockResponseRepositoryMockRecorder) ListForFreelancer ¶
func (mr *MockResponseRepositoryMockRecorder) ListForFreelancer(arg0 interface{}) *gomock.Call
ListForFreelancer indicates an expected call of ListForFreelancer
func (*MockResponseRepositoryMockRecorder) ListForManager ¶
func (mr *MockResponseRepositoryMockRecorder) ListForManager(arg0 interface{}) *gomock.Call
ListForManager indicates an expected call of ListForManager
func (*MockResponseRepositoryMockRecorder) ListResponsesOnJobID ¶
func (mr *MockResponseRepositoryMockRecorder) ListResponsesOnJobID(jobID interface{}) *gomock.Call
ListResponsesOnJobID indicates an expected call of ListResponsesOnJobID
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of Repository interface
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance
func (*MockUserRepository) Create ¶
func (m *MockUserRepository) Create(user *model.User) error
Create mocks base method
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserRepository) Edit ¶
func (m *MockUserRepository) Edit(user *model.User) error
Edit mocks base method
func (*MockUserRepository) Find ¶
func (m *MockUserRepository) Find(arg0 int64) (*model.User, error)
Find mocks base method
func (*MockUserRepository) FindByEmail ¶
func (m *MockUserRepository) FindByEmail(arg0 string) (*model.User, error)
FindByEmail mocks base method
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository
func (*MockUserRepositoryMockRecorder) Create ¶
func (mr *MockUserRepositoryMockRecorder) Create(user interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserRepositoryMockRecorder) Edit ¶
func (mr *MockUserRepositoryMockRecorder) Edit(user interface{}) *gomock.Call
Edit indicates an expected call of Edit
func (*MockUserRepositoryMockRecorder) Find ¶
func (mr *MockUserRepositoryMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find
func (*MockUserRepositoryMockRecorder) FindByEmail ¶
func (mr *MockUserRepositoryMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call
FindByEmail indicates an expected call of FindByEmail