Mercurial > gemma
comparison pkg/models/surveys.go @ 5601:1222b777f51f
Made golint finally happy.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 06 Aug 2022 02:09:57 +0200 |
parents | 5e7fca6ef935 |
children |
comparison
equal
deleted
inserted
replaced
5600:9967a78e43f4 | 5601:1222b777f51f |
---|---|
11 // Author(s): | 11 // Author(s): |
12 // * Sascha Wilde <sascha.wilde@intevation.de> | 12 // * Sascha Wilde <sascha.wilde@intevation.de> |
13 | 13 |
14 package models | 14 package models |
15 | 15 |
16 type ( | 16 // Survey contains the relevant data about a survey. |
17 Survey struct { | 17 type Survey struct { |
18 BottleneckID string `json:"bottleneck_id"` | 18 BottleneckID string `json:"bottleneck_id"` |
19 DateInfo string `json:"date_info"` | 19 DateInfo string `json:"date_info"` |
20 DepthReference string `json:"depth_reference"` | 20 DepthReference string `json:"depth_reference"` |
21 ReferenceGauge string `json:"gauge_objname"` | 21 ReferenceGauge string `json:"gauge_objname"` |
22 SurveyType SurveyType `json:"survey_type"` | 22 SurveyType SurveyType `json:"survey_type"` |
23 WaterLevelValue *int64 `json:"waterlevel_value,omitempty"` | 23 WaterLevelValue *int64 `json:"waterlevel_value,omitempty"` |
24 } | 24 } |
25 ) |