package
0.0.0-20240419174201-cd9a5e247b0b
Repository: https://github.com/object-oriented-project/backend.git
Documentation: pkg.go.dev

# Functions

CreateMenus godoc @Summary Create a menu @Description Create a menu @Tags Menu @Accept json @Produce json @Param menu body model.Menu true "Menu" @Success 200 {object} model.Menu @Router /api/menu [post].
DeleteMenuByID godoc @Summary Delete menu by id @Description Delete menu by id @Tags Menu @Accept json @Produce json @Success 200 {null} @Router /api/menu/:id [delete].
GetAllMenus godoc @Summary Get all menus @Description Get all menus @Tags Menu @Accept json @Produce json @Success 200 {array} model.Menu @Router /api/menu [get].
GetMenuByID godoc @Summary Get menu by id @Description Get menu by id @Tags Menu @Accept json @Produce json @Success 200 {object} model.Menu @Router /api/menu/:id [get].
UpdateMenuByID godoc @Summary Update menu by id @Description Update menu by id @Tags Menu @Accept json @Produce json @Success 200 {object} model.Menu @Router /api/menu/:id [get].