chore: upgrade dependencies. remove deprecated code. conform to linter style

This commit is contained in:
2025-08-11 22:51:50 +02:00
parent bfe490cd5c
commit e24201c204
15 changed files with 133 additions and 142 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ import (
func NoSpacesValidation(input string) error {
if strings.Contains(input, " ") {
return errors.New("Field cannot contain spaces")
return errors.New("field cannot contain spaces")
}
return nil
@@ -37,7 +37,7 @@ func ValidatePort(input string) error {
}
if pNum < 1 || pNum > 65535 {
return errors.New("Invalid port number")
return errors.New("invalid port number")
}
return nil