Mercurial > gemma
comparison pkg/models/imports.go @ 4400:3b36c4d810b0
Added back end for deletion of sounding results.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Mon, 16 Sep 2019 16:41:56 +0200 |
parents | 024b16a1c253 |
children | 8eb36d0d5bdf |
comparison
equal
deleted
inserted
replaced
4399:349e409fbbb1 | 4400:3b36c4d810b0 |
---|---|
126 } | 126 } |
127 | 127 |
128 StretchDelete struct { | 128 StretchDelete struct { |
129 ID int64 `json:"id"` | 129 ID int64 `json:"id"` |
130 } | 130 } |
131 | |
132 SoundingResultDelete struct { | |
133 BottleneckId string `json:"bottleneck-id"` | |
134 Date Date `json:"date-info"` | |
135 } | |
131 ) | 136 ) |
132 | 137 |
133 func (cui *ConfigurableURLImport) MarshalAttributes(attrs common.Attributes) error { | 138 func (cui *ConfigurableURLImport) MarshalAttributes(attrs common.Attributes) error { |
134 if err := cui.URLType.MarshalAttributes(attrs); err != nil { | 139 if err := cui.URLType.MarshalAttributes(attrs); err != nil { |
135 return err | 140 return err |