Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultResponse ¶
type DefaultResponse struct {
Message string `json:"message"`
}
type ProductRequest ¶
type ProductResponse ¶
type ProductsHandler ¶
type ProductsHandler struct {
// contains filtered or unexported fields
}
func NewProductsHandler ¶
func NewProductsHandler(log *slog.Logger, db *sqlx.DB, productsService *products.ProductsService) *ProductsHandler
func (*ProductsHandler) CreateProduct ¶
func (h *ProductsHandler) CreateProduct(c *gin.Context)
func (*ProductsHandler) DeleteProduct ¶
func (h *ProductsHandler) DeleteProduct(c *gin.Context)
func (*ProductsHandler) FindProduct ¶
func (h *ProductsHandler) FindProduct(c *gin.Context)
func (*ProductsHandler) FindProductList ¶
func (h *ProductsHandler) FindProductList(c *gin.Context)
func (*ProductsHandler) UpdateProduct ¶
func (h *ProductsHandler) UpdateProduct(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.