dango_core/music_controller/
init.rs

1use std::path::Path;
2use std::fs::File;
3
4pub fn init() {
5
6}
7
8fn init_config() {
9    let config_path = "./config.toml";
10
11    if !Path::new(config_path).try_exists().unwrap() {
12        File::create("./config.toml").unwrap();
13    }
14}
15
16fn init_db() {  
17
18}
19