diff pkg/models/search.go @ 743:fdff2de616ad

Added search function for river kilometer. This is the first iteration of the search back end. For now only the distance marks are searched.
author Sascha Wilde <wilde@intevation.de>
date Mon, 24 Sep 2018 13:26:57 +0200
parents
children a244b18cb916
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pkg/models/search.go	Mon Sep 24 13:26:57 2018 +0200
@@ -0,0 +1,7 @@
+package models
+
+type (
+	SearchRequest struct {
+		SearchString string `json:"string"`
+	}
+)