summaryrefslogtreecommitdiff
path: root/version.go
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-03-16 10:20:31 -0600
committernytpu <alex@nytpu.com>2021-03-16 10:24:36 -0600
commit91e663c0f0ec4e1e61a2493f6ab08850cd2e5a2e (patch)
treecfc8f3e4db20d48085be41485ffcf411b9441920 /version.go
parentf82e0905779c9d88140403778f7b3b35a1d03420 (diff)
add command parsing
Diffstat (limited to 'version.go')
-rw-r--r--version.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/version.go b/version.go
new file mode 100644
index 0000000..7ea6fa6
--- /dev/null
+++ b/version.go
@@ -0,0 +1,11 @@
+// Copyright (C) 2021 nytpu
+// SPDX-License-Identifier: AGPL-3.0-or-later
+// For more license details, see LICENSE or <https://www.gnu.org/licenses/agpl-3.0.html>.
+
+package main
+
+// These variables are set by the linker. They can be modified in the Makefile.
+var (
+ Version = "Unknown"
+ Commit = "Unknown"
+)