()
| 18 | static GOOGLE_API_KEY: OnceLock<String> = OnceLock::new(); |
| 19 | |
| 20 | pub fn get_amp_api_key() -> &'static str { |
| 21 | AMP_API_KEY.get().expect("AMP_API_KEY not initialized") |
| 22 | } |
| 23 | |
| 24 | pub fn get_google_api_key() -> Option<&'static str> { |
| 25 | GOOGLE_API_KEY.get().map(|s| s.as_str()) |
nothing calls this directly
no outgoing calls
no test coverage detected