comparison pkg/imports/sec.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 f32d086b5dbf
children 59a99655f34d
comparison
equal deleted inserted replaced
4851:faabfed7f0e9 4852:046a07a33b19
32 NObjNam *string `json:"nobjnam"` 32 NObjNam *string `json:"nobjnam"`
33 Source string `json:"source-organization"` 33 Source string `json:"source-organization"`
34 Date models.Date `json:"date-info"` 34 Date models.Date `json:"date-info"`
35 } 35 }
36 36
37 // Description gives a short info about relevant facts of this import.
37 func (sec *Section) Description() (string, error) { 38 func (sec *Section) Description() (string, error) {
38 return strings.Join([]string{ 39 return strings.Join([]string{
39 sec.Name, 40 sec.Name,
40 sec.ObjNam, 41 sec.ObjNam,
41 sec.From.String(), 42 sec.From.String(),