From 41a5e148421ec6de2983af17a262ac3fb3afe32a Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sun, 3 Jun 2018 23:43:27 +0100 Subject: added Suite to the result set --- d1pkgweb-query.go | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/d1pkgweb-query.go b/d1pkgweb-query.go index bfb36fe..8e04a08 100644 --- a/d1pkgweb-query.go +++ b/d1pkgweb-query.go @@ -16,10 +16,12 @@ type Result struct { Name string Version string URL string + Suite string } type ResultPage struct { Query string + Release string NumResults int Time string Results []Result @@ -34,21 +36,21 @@ var resTempl = ` Search Devuan Packages for: in release -
{{.NumResults}} results for "{{.Query}}" (in {{.Time}})
+
{{.NumResults}} results for "{{.Query}}" in {{.Release}} (in {{.Time}})