(secrets []SecretFound, isFirstSecret *bool)
| 127 | } |
| 128 | |
| 129 | func PrintColoredSecrets(secrets []SecretFound, isFirstSecret *bool) { |
| 130 | for _, secret := range secrets { |
| 131 | printColoredSecretJSONObject(secret, isFirstSecret) |
| 132 | *isFirstSecret = false |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | // Function to print json object with the matches secret string in color |
| 137 | func printColoredSecretJSONObject(secret SecretFound, isFirstSecret *bool) { |
nothing calls this directly
no test coverage detected