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

View File

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