aboutsummaryrefslogtreecommitdiff
path: root/pkg/version/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/version/version.go')
-rw-r--r--pkg/version/version.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/version/version.go b/pkg/version/version.go
new file mode 100644
index 0000000..81de2fc
--- /dev/null
+++ b/pkg/version/version.go
@@ -0,0 +1,11 @@
+package version
+
+// the way via debug.BuildInfo does not work -- it'll always return "devel"
+// thus the oldschool way: hardcoded
+
+const version = "0.1.0-devel"
+
+// Current feed2imap version
+func Version() string {
+ return version
+}
9Clean go.modRené 'Necoro' Neumann2-3/+0 2020-04-19Do not print the parsedCfg anymoreRené 'Necoro' Neumann1-1/+1 2020-04-19Increase go-version to 1.14René 'Necoro' Neumann1-2/+2 2020-04-19CI: go vetRené 'Necoro' Neumann1-0/+3 2020-04-19Fetching and parsing the feedsRené 'Necoro' Neumann5-4/+113 2020-04-19Ignore all config*.ymlRené 'Necoro' Neumann1-1/+1