product

package
v0.0.0-...-5bcfc9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Db             *storage.Database
	Validator      *validator.Validate
	Logger         *utility.Logger
	ExtReq         request.ExternalRequest
	ProductService product.ProductService
}

func (*Controller) CreateProduct

func (base *Controller) CreateProduct(c *gin.Context)

func (*Controller) DeleteProductController

func (base *Controller) DeleteProductController(ctx *gin.Context)

func (*Controller) FilterProducts

func (base *Controller) FilterProducts(ctx *gin.Context)

func (*Controller) GetAllProducts

func (base *Controller) GetAllProducts(ctx *gin.Context)

func (*Controller) GetProduct

func (base *Controller) GetProduct(c *gin.Context)

func (*Controller) GetProductsInCategory

func (base *Controller) GetProductsInCategory(ctx *gin.Context)

func (*Controller) UpdateProduct

func (base *Controller) UpdateProduct(c *gin.Context)

func (*Controller) UploadImage

func (base *Controller) UploadImage(ctx *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL