summaryrefslogtreecommitdiff
path: root/pkg/version
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
+}