pulled out main function.

This commit is contained in:
Nathan Button 2015-10-06 16:19:04 -06:00
parent 0270356a60
commit 0c1d96fc2c

View File

@ -8,10 +8,10 @@ import (
"zxcvbn-go/utils/math" "zxcvbn-go/utils/math"
) )
func main() { //func main() {
password :="Testaaatyhg890l33t" // password :="Testaaatyhg890l33t"
fmt.Println(PasswordStrength(password, nil)) // fmt.Println(PasswordStrength(password, nil))
} //}
func PasswordStrength(password string, userInputs []string) scoring.MinEntropyMatch { func PasswordStrength(password string, userInputs []string) scoring.MinEntropyMatch {
start := time.Now() start := time.Now()