Testing procedural macros

This commit is contained in:
2024-12-02 18:21:48 +01:00
parent c88e087ff8
commit be77ab9361
7 changed files with 83 additions and 6 deletions

View File

@@ -13,7 +13,9 @@ pub(crate) fn get_static(file: &String) -> Response<Body> {
}
}
pub(crate) fn get_rendered() {}
pub(crate) fn get_rendered(file: &String) -> Response<Body> {
todo!()
}
fn read_static(file: &String) -> Result<Vec<u8>, Box<dyn std::error::Error + Send + Sync>> {
let mut buf = Vec::new();