Mercurial > gemma
comparison pkg/imports/wx.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 | 783d0bec86d3 |
comparison
equal
deleted
inserted
replaced
4851:faabfed7f0e9 | 4852:046a07a33b19 |
---|---|
42 User string `json:"user,omitempty"` | 42 User string `json:"user,omitempty"` |
43 // Password is an optional password for Basic Auth. | 43 // Password is an optional password for Basic Auth. |
44 Password string `json:"password,omitempty"` | 44 Password string `json:"password,omitempty"` |
45 } | 45 } |
46 | 46 |
47 // Description gives a short info about relevant facts of this import. | |
47 func (wx *WaterwayAxis) Description() (string, error) { | 48 func (wx *WaterwayAxis) Description() (string, error) { |
48 return wx.URL + "|" + wx.FeatureType, nil | 49 return wx.URL + "|" + wx.FeatureType, nil |
49 } | 50 } |
50 | 51 |
51 // WXJobKind is the import queue type identifier. | 52 // WXJobKind is the import queue type identifier. |