Documentation ¶
Index ¶
- func NewMockPartiesGormRepo(conn *gorm.DB) parties.PartiesRepository
- type MockPartiesGormRepo
- func (mockPartiesRepo *MockPartiesGormRepo) DeleteParties(id int) (*entities.Parties, []error)
- func (mockPartiesRepo *MockPartiesGormRepo) Parties() ([]entities.Parties, []error)
- func (mockPartiesRepo *MockPartiesGormRepo) Party(id int) (*entities.Parties, []error)
- func (mockPartiesRepo *MockPartiesGormRepo) StoreParties(Parties *entities.Parties) (*entities.Parties, []error)
- func (mockPartiesRepo *MockPartiesGormRepo) UpdateParties(Parties *entities.Parties) (*entities.Parties, []error)
- type PartiesGormRepo
- func (pRepo *PartiesGormRepo) DeleteParties(id int) (*entities.Parties, []error)
- func (pRepo *PartiesGormRepo) Parties() ([]entities.Parties, []error)
- func (pRepo *PartiesGormRepo) Party(id int) (*entities.Parties, []error)
- func (pRepo *PartiesGormRepo) StoreParties(Parties *entities.Parties) (*entities.Parties, []error)
- func (pRepo *PartiesGormRepo) UpdateParties(Parties *entities.Parties) (*entities.Parties, []error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockPartiesGormRepo ¶
func NewMockPartiesGormRepo(conn *gorm.DB) parties.PartiesRepository
Types ¶
type MockPartiesGormRepo ¶
type MockPartiesGormRepo struct {
// contains filtered or unexported fields
}
func (*MockPartiesGormRepo) DeleteParties ¶
func (mockPartiesRepo *MockPartiesGormRepo) DeleteParties(id int) (*entities.Parties, []error)
func (*MockPartiesGormRepo) Parties ¶
func (mockPartiesRepo *MockPartiesGormRepo) Parties() ([]entities.Parties, []error)
func (*MockPartiesGormRepo) Party ¶
func (mockPartiesRepo *MockPartiesGormRepo) Party(id int) (*entities.Parties, []error)
func (*MockPartiesGormRepo) StoreParties ¶
func (*MockPartiesGormRepo) UpdateParties ¶
type PartiesGormRepo ¶
type PartiesGormRepo struct {
// contains filtered or unexported fields
}
func NewPartiesGormRepo ¶
func NewPartiesGormRepo(db *gorm.DB) *PartiesGormRepo
func (*PartiesGormRepo) DeleteParties ¶
func (pRepo *PartiesGormRepo) DeleteParties(id int) (*entities.Parties, []error)
func (*PartiesGormRepo) Parties ¶
func (pRepo *PartiesGormRepo) Parties() ([]entities.Parties, []error)
func (*PartiesGormRepo) Party ¶
func (pRepo *PartiesGormRepo) Party(id int) (*entities.Parties, []error)
func (*PartiesGormRepo) StoreParties ¶
func (*PartiesGormRepo) UpdateParties ¶
Click to show internal directories.
Click to hide internal directories.