(enabledFlags map[string]bool)
| 128 | } |
| 129 | |
| 130 | func stubFeatureFlags(enabledFlags map[string]bool) FeatureFlags { |
| 131 | return FeatureFlags{ |
| 132 | LockdownMode: enabledFlags["lockdown-mode"], |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | func badRequestHandler(msg string) http.HandlerFunc { |
| 137 | return func(w http.ResponseWriter, _ *http.Request) { |
no outgoing calls
no test coverage detected