Split the code into files
This commit is contained in:
6
src/app_state.rs
Normal file
6
src/app_state.rs
Normal file
@ -0,0 +1,6 @@
|
||||
use sqlx::PgPool;
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct AppState {
|
||||
pub pool: PgPool,
|
||||
}
|
||||
Reference in New Issue
Block a user