Documentation ¶
Index ¶
- func AddBrand(ctx iris.Context)
- func AddBrandCollection(ctx iris.Context)
- func AddProduct(ctx iris.Context)
- func DeleteBrand(ctx iris.Context)
- func DeleteBrandCollection(ctx iris.Context)
- func DeleteProduct(ctx iris.Context)
- func EditBrand(ctx iris.Context)
- func EditBrandCollection(ctx iris.Context)
- func EditProduct(ctx iris.Context)
- func GetAll(string, orderBy string, offset, limit int, sort string) *gorm.DB
- func GetBrand(ctx iris.Context)
- func GetBrandCollection(ctx iris.Context)
- func GetBrandCollectionProducts(ctx iris.Context)
- func GetBrandCollections(ctx iris.Context)
- func GetBrands(ctx iris.Context)
- func GetErrorStatus(err error) int
- func GetProduct(ctx iris.Context)
- func GetProducts(ctx iris.Context)
- type Lists
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBrandCollection ¶
func AddBrandCollection(ctx iris.Context)
AddBrandCollection add collection to brand
func DeleteBrandCollection ¶
func DeleteBrandCollection(ctx iris.Context)
DeleteBrandCollection delete a Brand's Collection
func EditBrandCollection ¶
func EditBrandCollection(ctx iris.Context)
EditBrandCollection edit brand's collection
func GetBrandCollection ¶
func GetBrandCollection(ctx iris.Context)
GetBrandCollection Get a brand's collection
func GetBrandCollectionProducts ¶
func GetBrandCollectionProducts(ctx iris.Context)
GetBrandCollectionProducts get products of brandCollection
func GetBrandCollections ¶
func GetBrandCollections(ctx iris.Context)
GetBrandCollections get all collections of brand
func GetErrorStatus ¶
GetErrorStatus give error and return http status code
Types ¶
Click to show internal directories.
Click to hide internal directories.