chore: tweak version utils

This commit is contained in:
Steven
2024-08-26 22:52:58 +08:00
parent 643a6051b2
commit ff035d25ba
9 changed files with 25 additions and 26 deletions

View File

@ -8,8 +8,8 @@ import (
"github.com/joho/godotenv"
"github.com/yourselfhosted/slash/server/common"
"github.com/yourselfhosted/slash/server/profile"
"github.com/yourselfhosted/slash/server/version"
)
func getUnusedPort() int {
@ -45,7 +45,7 @@ func GetTestingProfile(t *testing.T) *profile.Profile {
Data: dir,
DSN: dsn,
Driver: driver,
Version: version.GetCurrentVersion(mode),
Version: common.GetCurrentVersion(mode),
}
}