style: using is struct to handle all judgements global envs
This commit is contained in:
+1
-1
@@ -221,7 +221,7 @@ func isValidPassword(password string) bool { // Validate password complexity and
|
||||
}
|
||||
|
||||
func ValidateTimeStamp(header http.Header) bool {
|
||||
if isDebug {
|
||||
if is.debug {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user