From 4d5afdc2a6dfbb985fe9030cad7b0b8c3fc74819 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 11 Jan 2018 12:36:56 +0000 Subject: split template in a separate file --- template.go | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 template.go (limited to 'template.go') diff --git a/template.go b/template.go new file mode 100644 index 0000000..97d8e5d --- /dev/null +++ b/template.go @@ -0,0 +1,101 @@ +package main + +var pkgTempl = ` + +{{.Name}}-{{.Version}} + +
{{.Name}} {{.Version}} [{{.Section}} - {{.Priority}}]
+
[{{.Suite}} - {{.Component}}]
+
+{{.Description}} +
+
+{{.LongDescription}} +
+ +
+ +
+{{range .Provides}}
Provides: {{.}}
{{end}} +
+ +
+Depends: + +
+ +
+Recommends: + +
+ + +
+Maintainer: {{.Maintainer}} +
+ + +` -- cgit v1.2.3