summaryrefslogtreecommitdiff
path: root/core/version.go
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-04-19 10:16:20 -0600
committernytpu <alex@nytpu.com>2021-04-19 10:16:20 -0600
commitfd2667cb9f6fe15c1770b82372007524aadb1cf0 (patch)
tree52c842f9d4b08306e8b91714810044b9040d5cc9 /core/version.go
parentffe7a37c66d5cfe3f834951545c562ae3b8dcdaa (diff)
move Version and Commit to core
Diffstat (limited to 'core/version.go')
-rw-r--r--core/version.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/version.go b/core/version.go
new file mode 100644
index 0000000..45d8ab5
--- /dev/null
+++ b/core/version.go
@@ -0,0 +1,11 @@
+// Copyright (C) 2021 nytpu
+// SPDX-License-Identifier: AGPL-3.0-only
+// For more license details, see LICENSE or <https://www.gnu.org/licenses/agpl-3.0.html>.
+
+package core
+
+// These variables are set by the linker. They can be modified in the Makefile.
+var (
+ Version = "Unknown"
+ Commit = "Unknown"
+)