use std::collections::HashMap;
pub mod dao;
pub mod entities;
pub mod leetcode;
pub mod render;
pub type Json = HashMap<&'static str, String>;
use leetcode::LeetCode;
use tokio::sync::OnceCell;
pub static LEETCODE: OnceCell<LeetCode> = OnceCell::const_new();
pub async fn glob_leetcode() -> &'static LeetCode {
LEETCODE
.get_or_init(|| async { LeetCode::build().await })
.await
}