Actualiza la organización del código para las apps
This commit is contained in:
parent
96cbbb0c3c
commit
9485179257
21 changed files with 13 additions and 16 deletions
17
pagetop/src/app.rs
Normal file
17
pagetop/src/app.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pub use actix_web::{
|
||||
App, HttpRequest, HttpResponse, HttpServer, Responder, Result, http, web
|
||||
};
|
||||
|
||||
mod banner;
|
||||
|
||||
mod tracing;
|
||||
|
||||
pub mod locale;
|
||||
|
||||
#[cfg(any(feature = "mysql", feature = "postgres", feature = "sqlite"))]
|
||||
pub mod db;
|
||||
|
||||
mod definition;
|
||||
pub use definition::AppTrait;
|
||||
|
||||
pub mod application;
|
||||
Loading…
Add table
Add a link
Reference in a new issue