Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthController ¶
type AuthController struct {
// contains filtered or unexported fields
}
func NewAuthController ¶
func NewAuthController(db *gorm.DB) *AuthController
func (*AuthController) SignIn ¶
func (authController *AuthController) SignIn(c *gin.Context)
func (*AuthController) SignUp ¶
func (authController *AuthController) SignUp(c *gin.Context)
type CategoryController ¶
type CategoryController struct {
// contains filtered or unexported fields
}
func NewCategoryController ¶
func NewCategoryController(db *gorm.DB) *CategoryController
func (CategoryController) AddCategory ¶
func (categoryController CategoryController) AddCategory(c *gin.Context)
func (CategoryController) GetAllCategories ¶
func (categoryController CategoryController) GetAllCategories(c *gin.Context)
type ProductController ¶
type ProductController struct {
// contains filtered or unexported fields
}
func NewProductController ¶
func NewProductController(db *gorm.DB) *ProductController
func (ProductController) GetAllProductsByPagination ¶
func (productController ProductController) GetAllProductsByPagination(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.