Files
dockermcmgr/src/config.rs

14 lines
336 B
Rust

pub struct Config {
pub config_path: String,
pub docker_image: String,
}
impl Config {
pub fn load() -> Self {
Self {
config_path: "/home/tom/desktop/rust/yo_mama/servers".to_string(), // that's my program I do what I want
docker_image: "itzg/minecraft-server".to_string()
}
}
}