1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use std::sync::Arc; use crate::core::config::Config; pub mod v1; pub struct DocxService { pub v1: v1::V1, } impl DocxService { pub fn new(config: Arc<Config>) -> Self { DocxService { v1: v1::V1::new((*config).clone()), } } }