chore: fix linter errors

This commit is contained in:
Johnny
2025-04-05 22:36:02 +08:00
parent 9c7b063d72
commit 516487b58a
7 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func GetSchemaVersion(version string) string {
return minorVersion + ".0"
}
// IsVersionGreaterThanOrEqualTo returns true if version is greater than or equal to target.
// IsVersionGreaterOrEqualThan returns true if version is greater than or equal to target.
func IsVersionGreaterOrEqualThan(version, target string) bool {
return semver.Compare(fmt.Sprintf("v%s", version), fmt.Sprintf("v%s", target)) > -1
}