1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use crate::{core::config::Config, service::search::v1::user::UserService}; pub mod user; pub struct V1 { pub user: UserService, } impl V1 { pub fn new(config: Config) -> Self { Self { user: UserService::new(config), } } }