(Feat): Follow semantic versioning

This commit is contained in:
2025-11-22 08:37:53 +00:00
parent 795b56cbe6
commit 8297721514

View File

@@ -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())
}