Mercurial > gemma
changeset 2148:4057a1f15174
Print templates: Forget to add controller file.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 08 Feb 2019 11:03:12 +0100 |
parents | b66cfcde8ff7 |
children | ed0ee54fc49e 2c67c51d57ad |
files | pkg/controllers/printtemplates.go |
diffstat | 1 files changed, 64 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pkg/controllers/printtemplates.go Fri Feb 08 11:03:12 2019 +0100 @@ -0,0 +1,64 @@ +// This is Free Software under GNU Affero General Public License v >= 3.0 +// without warranty, see README.md and license for details. +// +// SPDX-License-Identifier: AGPL-3.0-or-later +// License-Filename: LICENSES/AGPL-3.0.txt +// +// Copyright (C) 2018 by via donau +// – Österreichische Wasserstraßen-Gesellschaft mbH +// Software engineering by Intevation GmbH +// +// Author(s): +// * Sascha L. Teichmann <sascha.teichmann@intevation.de> + +package controllers + +import ( + "database/sql" + "net/http" +) + +func listPrintTemplates( + _ interface{}, + req *http.Request, + conn *sql.Conn, +) (jr JSONResult, err error) { + // TODO: Implement me! + return +} + +func fetchPrintTemplate( + _ interface{}, + req *http.Request, + conn *sql.Conn, +) (jr JSONResult, err error) { + // TODO: Implement me! + return +} + +func createPrintTemplate( + _ interface{}, + req *http.Request, + conn *sql.Conn, +) (jr JSONResult, err error) { + // TODO: Implement me! + return +} + +func deletePrintTemplate( + _ interface{}, + req *http.Request, + conn *sql.Conn, +) (jr JSONResult, err error) { + // TODO: Implement me! + return +} + +func updatePrintTemplate( + _ interface{}, + req *http.Request, + conn *sql.Conn, +) (jr JSONResult, err error) { + // TODO: Implement me! + return +}