teo-generator 0.3.9

SDK generators for Teo
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use teo_runtime::config::entity::Entity;
use teo_runtime::namespace::Namespace;
use crate::outline::outline::Outline;

pub(crate) struct Ctx<'a> {
    pub(crate) conf: &'a Entity,
    pub(crate) main_namespace: &'a Namespace,
}

impl<'a> Ctx<'a> {

    pub(crate) fn new(conf: &'a Entity, main_namespace: &'a Namespace) -> Self {
        Self {
            main_namespace,
            conf,
        }
    }
}