8 lines
169 B
Go
8 lines
169 B
Go
package helpers
|
|
|
|
import "strings"
|
|
|
|
func EmptyUserPass(username, password string) bool {
|
|
return strings.Trim(username, " ") == "" || strings.Trim(password, " ") == ""
|
|
}
|