use crate::core::config::Config;
pub mod data_operation;
pub mod sheet_row_col;
pub mod spreadsheet_sheet;
pub struct V2 {
pub spreadsheet: SpreadsheetService,
pub spreadsheet_sheet: SpreadsheetSheetService,
}
impl V2 {
pub fn new(config: Config) -> Self {
Self {
spreadsheet: SpreadsheetService::new(config.clone()),
spreadsheet_sheet: SpreadsheetSheetService::new(config),
}
}
}
pub struct SpreadsheetService {
config: Config,
}
impl SpreadsheetService {
pub fn new(config: Config) -> Self {
Self { config }
}
}
pub struct SpreadsheetSheetService {
config: Config,
}
impl SpreadsheetSheetService {
pub fn new(config: Config) -> Self {
Self { config }
}
}