use std::fs;
use crate::{config::Config, http::routing::router::Router};
pub trait App {
async fn serve() {
todo!()
}
fn with_routes() -> Router {
Router::builder().build()
}
fn with_app_config() -> Config {
let file = fs::read_to_string("./Snx.toml").unwrap();
toml::from_str::<Config>(&file).unwrap()
}
}