(verification VerificationType)
| 21 | } |
| 22 | |
| 23 | func IsVerificationEnabled(verification VerificationType) bool { |
| 24 | env := getEnvVerify() |
| 25 | return env == string(ENV_VERIFY_VALUE_ALL) || env == strings.ToLower(string(verification)) |
| 26 | } |
| 27 | |
| 28 | // EnableVerifications sets `ENV_VERIFY` and returns a function that |
| 29 | // can be used to bring the original settings. |
no test coverage detected