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,10 +1,10 @@
package crud
import (
"github.com/labstack/echo"
"net/http"
"fmt"
"git.kolaente.de/konrad/list/models"
"github.com/labstack/echo"
"net/http"
)
// ReadAllWeb is the webhandler to get all objects of a type
@ -21,4 +21,4 @@ func (c *WebHandler) ReadAllWeb(ctx echo.Context) error {
}
return ctx.JSON(http.StatusOK, lists)
}
}