Versions in this module Expand all Collapse all v0 v0.0.1 Aug 13, 2024 Changes in this version + type DefaultResponse struct + Message string + type ProductRequest struct + Name string + Price uint64 + Quantity uint64 + type ProductResponse struct + CreatedAt time.Time + ID uint64 + Name string + Price uint64 + Quantity uint64 + type ProductsHandler struct + func NewProductsHandler(log *slog.Logger, db *sqlx.DB, productsService *products.ProductsService) *ProductsHandler + func (h *ProductsHandler) CreateProduct(c *gin.Context) + func (h *ProductsHandler) DeleteProduct(c *gin.Context) + func (h *ProductsHandler) FindProduct(c *gin.Context) + func (h *ProductsHandler) FindProductList(c *gin.Context) + func (h *ProductsHandler) UpdateProduct(c *gin.Context)