func Delete(c *gin.Context) { id, _ := strconv.Atoi(c.Param("id")) point := model.Point{} point.Get(db, id) point.Delete(db) }