Documentation ¶
Index ¶
- Variables
- type SkuCase
- func (p *SkuCase) AddSku(ctx context.Context, model string, brand, encap, category int64, ...) (*sku.SKU, error)
- func (p *SkuCase) FindSku(ctx context.Context, sku string) (*sku.SKU, error)
- func (p *SkuCase) GetSkuByModelBrand(ctx context.Context, model, brand string) (*sku.SKU, error)
- func (p *SkuCase) Search(ctx context.Context, model string) ([]sku.SKU, error)
- type SkuRepo
Constants ¶
This section is empty.
Variables ¶
ProviderSet is biz providers.
Functions ¶
This section is empty.
Types ¶
type SkuCase ¶
type SkuCase struct {
// contains filtered or unexported fields
}
func (*SkuCase) AddSku ¶ added in v0.0.2
func (*SkuCase) FindSku ¶ added in v0.0.2
func (*SkuCase) GetSkuByModelBrand ¶
type SkuRepo ¶
type SkuRepo interface { Search(string) ([]sku.SKU, error) FindSku(string) (*sku.SKU, error) //SetSku(string,string,string,string,string,string,string,int64) (*sku.SKU,error) AddSku(string, int64, int64, int64, string, string, string, string) (*sku.SKU, error) GetSkuByModelBrand(string, string) (*sku.SKU, error) }
Click to show internal directories.
Click to hide internal directories.