// DeleteUser to delete an existing user
DeleteUser to delete an existing user
// DeleteUser to delete an existing user
func (UserController) DeleteUser(c *gin.Context) {
	err := store.DeleteUser(c, c.Param("id"))
	if err != nil {
		c.Error(err)
		c.Abort()
		return
	}
	c.JSON(http.StatusOK, nil)
}
func ( UserController ) DeleteUser ( c * gin . Context ) { err := store . DeleteUser ( c , c . Param ( " " ) ) if err != nil { c . Error ( err ) c . Abort ( ) return } c . JSON ( http . StatusOK , nil ) }
DeleteUser to delete an existing user
DeleteUser to delete an existing user