From 829772151482dcb3fb9cfb47e109b82fb0ddaa9e Mon Sep 17 00:00:00 2001 From: bereck-work Date: Sat, 22 Nov 2025 08:37:53 +0000 Subject: [PATCH] (Feat): Follow semantic versioning --- internal/version/version.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 internal/version/version.go diff --git a/internal/version/version.go b/internal/version/version.go new file mode 100644 index 0000000..2b79e37 --- /dev/null +++ b/internal/version/version.go @@ -0,0 +1,19 @@ +package version + +import "fmt" + +const ( + Major = 1 + Minor = 0 + Patch = 3 +) + +// Version returns the semantic version string +func Version() string { + return fmt.Sprintf("%d.%d.%d", Major, Minor, Patch) +} + +// FullVersion returns the version with app name +func FullVersion() string { + return fmt.Sprintf("Zipprine v%s", Version()) +}