Update generate_otp.go

This commit is contained in:
Lakhan Samani 2022-08-02 18:26:05 +05:30 committed by GitHub
parent 587828b59b
commit a890013317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ import (
"time" "time"
) )
// GenerateOTP to generate random 6 digit otp
func GenerateOTP() string { func GenerateOTP() string {
code := "" code := ""
codeLength := 6 codeLength := 6