diff --git a/example/main.go b/example/main.go index 629e338..d8262f9 100644 --- a/example/main.go +++ b/example/main.go @@ -33,7 +33,7 @@ func promptForPasscode() string { } // Demo function, not used in main -// Generates Passcode using a UTF-8 (not base32) secret and custom paramters +// Generates Passcode using a UTF-8 (not base32) secret and custom parameters func GeneratePassCode(utf8string string) string{ secret := base32.StdEncoding.EncodeToString([]byte(utf8string)) passcode, err := totp.GenerateCodeCustom(secret, time.Now(), totp.ValidateOpts{