comparison pkg/imports/fa.go @ 4799:f32d086b5dbf

Removed the mechanical touch of the last commit.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 25 Oct 2019 18:40:37 +0200
parents ca6a5f722471
children 046a07a33b19
comparison
equal deleted inserted replaced
4798:ca6a5f722471 4799:f32d086b5dbf
19 "context" 19 "context"
20 "database/sql" 20 "database/sql"
21 "errors" 21 "errors"
22 "fmt" 22 "fmt"
23 "sort" 23 "sort"
24 "strings"
25 "time" 24 "time"
26 25
27 "github.com/jackc/pgx/pgtype" 26 "github.com/jackc/pgx/pgtype"
28 27
29 "gemma.intevation.de/gemma/pkg/soap/ifaf" 28 "gemma.intevation.de/gemma/pkg/soap/ifaf"
160 ST_MakePoint($6, $7)::geography 159 ST_MakePoint($6, $7)::geography
161 )ON CONFLICT ON CONSTRAINT fa_reference_values_pkey DO NOTHING` 160 )ON CONFLICT ON CONSTRAINT fa_reference_values_pkey DO NOTHING`
162 ) 161 )
163 162
164 func (fa *FairwayAvailability) Description() (string, error) { 163 func (fa *FairwayAvailability) Description() (string, error) {
165 164 return fa.URL, nil
166 var descs []string
167
168 descs = append(descs, fa.URL)
169 return strings.Join(descs, "|"), nil
170 } 165 }
171 166
172 type faJobCreator struct{} 167 type faJobCreator struct{}
173 168
174 func init() { 169 func init() {