open_lark/service/cloud_docs/wiki/
mod.rs

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