Documentation ¶
Index ¶
- type ProductController
- func (c *ProductController) CreateProduct(w http.ResponseWriter, r *http.Request)
- func (c *ProductController) DeleteProduct(w http.ResponseWriter, r *http.Request)
- func (c *ProductController) GetProductById(w http.ResponseWriter, r *http.Request)
- func (c *ProductController) GetProducts(w http.ResponseWriter, r *http.Request)
- func (c *ProductController) UpdateProduct(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductController ¶
func (*ProductController) CreateProduct ¶
func (c *ProductController) CreateProduct(w http.ResponseWriter, r *http.Request)
func (*ProductController) DeleteProduct ¶
func (c *ProductController) DeleteProduct(w http.ResponseWriter, r *http.Request)
func (*ProductController) GetProductById ¶
func (c *ProductController) GetProductById(w http.ResponseWriter, r *http.Request)
func (*ProductController) GetProducts ¶
func (c *ProductController) GetProducts(w http.ResponseWriter, r *http.Request)
func (*ProductController) UpdateProduct ¶
func (c *ProductController) UpdateProduct(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.