comparison pkg/imports/bn.go @ 1696:ad5e1cddaa09

Imports: Resolved the remaining golint issues with this package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 04 Jan 2019 13:41:07 +0100
parents be78b429ef6e
children 807569b08513
comparison
equal deleted inserted replaced
1695:be78b429ef6e 1696:ad5e1cddaa09
33 // Insecure indicates if HTTPS traffic 33 // Insecure indicates if HTTPS traffic
34 // should validate certificates or not. 34 // should validate certificates or not.
35 Insecure bool `json:"insecure"` 35 Insecure bool `json:"insecure"`
36 } 36 }
37 37
38 // BNJobKind is import queue type identifier. 38 // BNJobKind is the import queue type identifier.
39 const BNJobKind JobKind = "bn" 39 const BNJobKind JobKind = "bn"
40 40
41 const ( 41 const (
42 hasBottleneckSQL = ` 42 hasBottleneckSQL = `
43 SELECT true FROM waterway.bottlenecks WHERE bottleneck_id = $1` 43 SELECT true FROM waterway.bottlenecks WHERE bottleneck_id = $1`