diff pkg/imports/st.go @ 4179:a376351d2774

Another round of doc strings to make 'golint' a little bit more happy with the imports package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 05 Aug 2019 18:14:41 +0200
parents 8b75ac5e243e
children 91cb4a7b1b13
line wrap: on
line diff
--- a/pkg/imports/st.go	Mon Aug 05 17:45:03 2019 +0200
+++ b/pkg/imports/st.go	Mon Aug 05 18:14:41 2019 +0200
@@ -23,6 +23,7 @@
 	"gemma.intevation.de/gemma/pkg/pgxutils"
 )
 
+// Stretch is a Job to create a stretch in the database.
 type Stretch struct {
 	Name      string                 `json:"name"`
 	From      models.Isrs            `json:"from"`
@@ -35,6 +36,7 @@
 	Countries models.UniqueCountries `json:"countries"`
 }
 
+// STJobKind is the import queue type identifier.
 const STJobKind JobKind = "st"
 
 type stJobCreator struct{}