Documentation
¶
Index ¶
- func CreateFood(c *gin.Context)
- func CreateFoodGroup(c *gin.Context)
- func CreateUser(c *gin.Context)
- func DeleteFoodGroup(c *gin.Context)
- func DeleteUser(c *gin.Context)
- func GetFoodGroup(c *gin.Context)
- func GetFoodGroups(c *gin.Context)
- func GetUser(c *gin.Context)
- func GetUsers(c *gin.Context)
- func UpdateFoodGroup(c *gin.Context)
- func UpdateUsers(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFood ¶
func CreateFoodGroup ¶
@Summary create a food group @Description create a food group @Tags food group @Accept */* @Produce json @Success 200 @Router /v1/foodgroup [post]
func CreateUser ¶
@Summary create a user @Description create a user @Tags user @Accept */* @Produce json @Success 200 @Router /v1/user [post]
func DeleteFoodGroup ¶
@Summary delete a food group @Description delete a food group @Tags food group @Accept */* @Produce json @Success 200 @Router /v1/foodgroup/:foodgroupId [delete]
func DeleteUser ¶
@Summary delete a user @Description delete a user @Tags user @Accept */* @Produce json @Success 200 @Router /v1/user/:userId [delete]
func GetFoodGroup ¶
func GetFoodGroups ¶
@Summary Get all food group @Description Get all food group @Tags food group @Accept */* @Produce json @Success 200 @Router /v1/foodgroup [Get]
func GetUser ¶
@Summary get a user @Description get a user @Tags user @Accept */* @Produce json @Success 200 @Router /v1/user [get]
func GetUsers ¶
@Summary Get all users. @Description Get all users @Tags user @Accept */* @Produce json @Success 200 @Router /v1/users [get]
func UpdateFoodGroup ¶
func UpdateUsers ¶
@Summary put a user @Description put a user @Tags user @Accept */* @Produce json @Success 200 @Router /v1/user [put]
Types ¶
This section is empty.