Documentation ¶
Index ¶
- type EntityConverter
- type UIDService
- type VendorRepository
- func (_m *VendorRepository) Create(ctx context.Context, item *model.Vendor) error
- func (_m *VendorRepository) Delete(ctx context.Context, tenant string, id string) error
- func (_m *VendorRepository) Exists(ctx context.Context, tenant string, id string) (bool, error)
- func (_m *VendorRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Vendor, error)
- func (_m *VendorRepository) ListByApplicationID(ctx context.Context, tenantID string, appID string) ([]*model.Vendor, error)
- func (_m *VendorRepository) Update(ctx context.Context, item *model.Vendor) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConverter ¶
EntityConverter is an autogenerated mock type for the EntityConverter type
func (*EntityConverter) FromEntity ¶
FromEntity provides a mock function with given fields: entity
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields:
type VendorRepository ¶
VendorRepository is an autogenerated mock type for the VendorRepository type
func (*VendorRepository) Delete ¶
Delete provides a mock function with given fields: ctx, tenant, id
func (*VendorRepository) Exists ¶
Exists provides a mock function with given fields: ctx, tenant, id
func (*VendorRepository) GetByID ¶
func (_m *VendorRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Vendor, error)
GetByID provides a mock function with given fields: ctx, tenant, id
func (*VendorRepository) ListByApplicationID ¶
func (_m *VendorRepository) ListByApplicationID(ctx context.Context, tenantID string, appID string) ([]*model.Vendor, error)
ListByApplicationID provides a mock function with given fields: ctx, tenantID, appID
Click to show internal directories.
Click to hide internal directories.