From 4a83670d01f461636451739d87163d888dc55b30 Mon Sep 17 00:00:00 2001 From: Ryan Maleki Date: Tue, 17 Aug 2021 14:51:41 -0700 Subject: [PATCH] Fix typo (#65) s/paramters/parameters --- example/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{