diff options
Diffstat (limited to 'model/utils.go')
-rw-r--r-- | model/utils.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/model/utils.go b/model/utils.go index 01b24157a..e84d44f72 100644 --- a/model/utils.go +++ b/model/utils.go @@ -273,11 +273,7 @@ func GetServerIpAddress() string { } func IsLower(s string) bool { - if strings.ToLower(s) == s { - return true - } - - return false + return strings.ToLower(s) == s } func IsValidEmail(email string) bool { |