comparison pkg/imports/dma.go @ 4852:046a07a33b19

Fixed the golint issues of the imports package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 19 Nov 2019 16:08:55 +0100
parents 5062ccb2381d
children e4ab338e7ba9
comparison
equal deleted inserted replaced
4851:faabfed7f0e9 4852:046a07a33b19
39 User string `json:"user,omitempty"` 39 User string `json:"user,omitempty"`
40 // Password is an optional password for Basic Auth. 40 // Password is an optional password for Basic Auth.
41 Password string `json:"password,omitempty"` 41 Password string `json:"password,omitempty"`
42 } 42 }
43 43
44 // Description gives a short info about relevant facts of this import.
44 func (dma *DistanceMarksAshore) Description() (string, error) { 45 func (dma *DistanceMarksAshore) Description() (string, error) {
45 return dma.URL + "|" + dma.FeatureType, nil 46 return dma.URL + "|" + dma.FeatureType, nil
46 } 47 }
47 48
48 // DMAJobKind is the import queue type identifier. 49 // DMAJobKind is the import queue type identifier.