mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
feat: integrate Storage config into providers (#198)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
This commit is contained in:
@ -57,13 +57,12 @@ func GetMd5Hash(text string) string {
|
||||
}
|
||||
|
||||
func IsStrsEmpty(strs ...string) bool {
|
||||
r := false
|
||||
for _, str := range strs {
|
||||
if len(str) == 0 {
|
||||
r = true
|
||||
return true
|
||||
}
|
||||
}
|
||||
return r
|
||||
return false
|
||||
}
|
||||
|
||||
func GetMaxLenStr(strs ...string) string {
|
||||
|
Reference in New Issue
Block a user