Mercurial > gemma
diff 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 |
line wrap: on
line diff
--- a/pkg/imports/sec.go Tue Nov 19 15:46:16 2019 +0100 +++ b/pkg/imports/sec.go Tue Nov 19 16:08:55 2019 +0100 @@ -34,6 +34,7 @@ Date models.Date `json:"date-info"` } +// Description gives a short info about relevant facts of this import. func (sec *Section) Description() (string, error) { return strings.Join([]string{ sec.Name,