diff pkg/imports/modelconvert.go @ 5326:96ceb150ea46 extented-report

Added infrastructure for report 'import'.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 30 May 2021 13:18:10 +0200
parents cf25b23e3eec
children 8e30b926b94d
line wrap: on
line diff
--- a/pkg/imports/modelconvert.go	Thu May 27 15:09:13 2021 +0200
+++ b/pkg/imports/modelconvert.go	Sun May 30 13:18:10 2021 +0200
@@ -45,6 +45,7 @@
 	DSECJobKind:        func() interface{} { return new(models.SectionDelete) },
 	DSTJobKind:         func() interface{} { return new(models.StretchDelete) },
 	DSRJobKind:         func() interface{} { return new(models.SoundingResultDelete) },
+	ReportJobKind:      func() interface{} { return FindJobCreator(ReportJobKind).Create() },
 }
 
 // ImportModelForJobKind returns the constructor function to