Init
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
use crate::config::AppConfig;
|
||||
use sea_orm::DatabaseConnection;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct AppState {
|
||||
pub db: DatabaseConnection,
|
||||
pub config: Arc<AppConfig>,
|
||||
}
|
||||
Reference in New Issue
Block a user