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

View File

@@ -1,13 +0,0 @@
package config_test
import (
"testing"
"github.com/tardisx/discord-auto-upload/config"
)
func TestVersioning(t *testing.T) {
if !config.NewVersionAvailable("v0.1.0") {
t.Error("should be a version newer than v0.1.0")
}
}