Split the code into files

This commit is contained in:
2025-11-13 02:52:18 +03:00
parent 86d7545f7c
commit 96a416b010
6 changed files with 149 additions and 130 deletions

6
src/app_state.rs Normal file
View File

@ -0,0 +1,6 @@
use sqlx::PgPool;
#[derive(Clone)]
pub struct AppState {
pub pool: PgPool,
}