Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deletecategory ¶
func GetCategoriesHandler ¶
func PostCategoryHandler ¶
func UpdateCategoryDto ¶
func UpdateCategoryDto(ctgId int64, c CategoryEntity) error
Types ¶
type CategoryEntity ¶
type CategoryEntity struct { CatID int64 `json:"cat_id" db:"cat_id"` CatName string `json:"cat_name" validate:"required" db:"cat_name"` }
func CreateCategoryDto ¶
func CreateCategoryDto(c CategoryEntity) (CategoryEntity, error)
func GetCategoriesDto ¶
func GetCategoriesDto() ([]CategoryEntity, error)
Click to show internal directories.
Click to hide internal directories.