mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 04:10:20 +08:00
refactor: code-optimization (#1885)
* refactor: code-optimization * fix: restoring code style * fix: gofmt
This commit is contained in:
@ -33,10 +33,10 @@ type VerifyResult struct {
|
||||
}
|
||||
|
||||
const (
|
||||
VerificationSuccess int = 0
|
||||
wrongCodeError = 1
|
||||
noRecordError = 2
|
||||
timeoutError = 3
|
||||
VerificationSuccess = iota
|
||||
wrongCodeError
|
||||
noRecordError
|
||||
timeoutError
|
||||
)
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user