diff pkg/imports/st.go @ 4311:f9bb06f2dbe3

Added stub for a shape upload stretch import. POST /api/imports/stsh
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 03 Sep 2019 13:02:09 +0200
parents 91cb4a7b1b13
children 5e38667f740c
line wrap: on
line diff
--- a/pkg/imports/st.go	Mon Sep 02 22:36:31 2019 +0200
+++ b/pkg/imports/st.go	Tue Sep 03 13:02:09 2019 +0200
@@ -40,9 +40,7 @@
 
 type stJobCreator struct{}
 
-func init() {
-	RegisterJobCreator(STJobKind, stJobCreator{})
-}
+func init() { RegisterJobCreator(STJobKind, stJobCreator{}) }
 
 func (stJobCreator) Description() string { return "stretch" }