Exemple #1
0
func Delete(c *gin.Context) {
	id, _ := strconv.Atoi(c.Param("id"))

	point := model.Point{}
	point.Get(db, id)
	point.Delete(db)
}