summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/meta.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/meta.go b/meta/meta.go
new file mode 100644
index 0000000..a00504b
--- /dev/null
+++ b/meta/meta.go
@@ -0,0 +1,16 @@
+// Copyright © 2022 siddharth ravikumar <s@ricketyspace.net>
+// SPDX-License-Identifier: ISC
+
+package meta
+
+import "ricketyspace.net/peach/version"
+
+type Meta struct {
+ Version string
+}
+
+func NewMeta() *Meta {
+ m := new(Meta)
+ m.Version = version.Version
+ return m
+}