df-plugin 0.3.18

This is an Plugin
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use df_plugin::{Model, models, Plugin};

pub struct {{plugin}} {}

impl Plugin for {{plugin}} {
    fn title(&mut self) -> &'static str {"{{title}}"}
    fn model(&mut self, name: &str) -> Box<dyn Model> {
        match name {
            //"test" => Box::new(TestTest {}),
            _ => models(name)
        }
    }
}
//pub mod test;