Mercurial > gemma
comparison pkg/models/waterway.go @ 1697:f1c3fe8b79f5
Imports: Fixed some golint issues.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 07 Jan 2019 11:02:48 +0100 |
parents | 53304db85888 |
children | 49e047c2106e |
comparison
equal
deleted
inserted
replaced
1696:ad5e1cddaa09 | 1697:f1c3fe8b79f5 |
---|---|
11 // Author(s): | 11 // Author(s): |
12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de> | 12 // * Sascha L. Teichmann <sascha.teichmann@intevation.de> |
13 | 13 |
14 package models | 14 package models |
15 | 15 |
16 // WaterwayAxisImport specifies an import of the waterway axis. | |
16 type WaterwayAxisImport struct { | 17 type WaterwayAxisImport struct { |
17 URL string `json:"url"` | 18 // URL is the capabilities URL of the WFS. |
19 URL string `json:"url"` | |
20 // FeatureType is the layer to use. | |
18 FeatureType string `json:"feature-type"` | 21 FeatureType string `json:"feature-type"` |
19 SortBy string `json:"sort-by"` | 22 // SortBy sorts the feature by this key. |
20 SendEmail bool `json:"send-email"` | 23 SortBy string `json:"sort-by"` |
24 // SendEmail is set to true if an email should be send after | |
25 // importing the axis. | |
26 SendEmail bool `json:"send-email"` | |
21 } | 27 } |