comparison pkg/models/diff.go @ 2570:c4242b9d59fe

Morphological differences: Added endpoint stub POST /api/diff
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 11 Mar 2019 13:15:28 +0100
parents
children 1222b777f51f
comparison
equal deleted inserted replaced
2569:2d18b8d5b9db 2570:c4242b9d59fe
1 // This is Free Software under GNU Affero General Public License v >= 3.0
2 // without warranty, see README.md and license for details.
3 //
4 // SPDX-License-Identifier: AGPL-3.0-or-later
5 // License-Filename: LICENSES/AGPL-3.0.txt
6 //
7 // Copyright (C) 2018, 2019 by via donau
8 // – Österreichische Wasserstraßen-Gesellschaft mbH
9 // Software engineering by Intevation GmbH
10 //
11 // Author(s):
12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de>
13
14 package models
15
16 type DiffCalculationInput struct {
17 Minuend Date `json:"minuend"`
18 Subtrahend Date `json:"subtrahend"`
19 Bottleneck string `json:"bottleneck"`
20 }