1
0

List item creation is now done via handler

This commit is contained in:
konrad
2018-07-11 02:13:53 +02:00
committed by kolaente
parent b067425dc3
commit 592dc20af4
12 changed files with 114 additions and 18 deletions

View File

@ -1,9 +1,9 @@
package crud
import (
"git.kolaente.de/konrad/list/models"
"github.com/labstack/echo"
"net/http"
"git.kolaente.de/konrad/list/models"
)
// DeleteWeb is the web handler to delete something
@ -34,4 +34,4 @@ func (c *WebHandler) DeleteWeb(ctx echo.Context) error {
}
return ctx.JSON(http.StatusOK, models.Message{"Successfully deleted."})
}
}