diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-06-18 08:32:04 -0400 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-06-18 08:32:04 -0400 |
commit | e416310ae81a1ecc648c3ae59f6f46326880e818 (patch) | |
tree | 0c5bdde0ccb1134668b487e6817b8692bb53b59b /meta | |
parent | 4f121d3a90ae2b7c79cc06df93ab25504a76892b (diff) |
peach: add `/about` section
Initial version.
Diffstat (limited to 'meta')
-rw-r--r-- | meta/meta.go | 16 |
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 +} |