Move software version handling to a new package

This commit is contained in:
2021-10-04 12:20:16 +10:30
parent 1812486b19
commit 3a65a60fcb
5 changed files with 40 additions and 30 deletions

11
version/version_test.go Normal file
View File

@@ -0,0 +1,11 @@
package version
import (
"testing"
)
func TestVersioning(t *testing.T) {
if !NewVersionAvailable("v0.1.0") {
t.Error("should be a version newer than v0.1.0")
}
}