use crate::config::ClientConfig; use sea_orm::DatabaseConnection; use tokio::sync::OnceCell; mod database; pub static GLOBAL: Global = Global{ config: OnceCell::const_new(), database: OnceCell::const_new(), }; pub struct Global { config: OnceCell, database: OnceCell, }