Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/pkg/models/waterway.go Fri Jan 04 13:41:07 2019 +0100 +++ b/pkg/models/waterway.go Mon Jan 07 11:02:48 2019 +0100 @@ -13,9 +13,15 @@ package models +// WaterwayAxisImport specifies an import of the waterway axis. type WaterwayAxisImport struct { - URL string `json:"url"` + // URL is the capabilities URL of the WFS. + URL string `json:"url"` + // FeatureType is the layer to use. FeatureType string `json:"feature-type"` - SortBy string `json:"sort-by"` - SendEmail bool `json:"send-email"` + // SortBy sorts the feature by this key. + SortBy string `json:"sort-by"` + // SendEmail is set to true if an email should be send after + // importing the axis. + SendEmail bool `json:"send-email"` }