15
server/enum/verification.go
Normal file
15
server/enum/verification.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package enum
|
||||
|
||||
type VerificationType int
|
||||
|
||||
const (
|
||||
BasicAuthSignup VerificationType = iota
|
||||
UpdateEmail
|
||||
)
|
||||
|
||||
func (d VerificationType) String() string {
|
||||
return [...]string{
|
||||
"basic_auth_signup",
|
||||
"update_email",
|
||||
}[d]
|
||||
}
|
Reference in New Issue
Block a user