Skip to main content

read/
read.rs

1use system_config::Config;
2
3fn main() {
4    let config = Config::new("system-config-example").unwrap();
5
6    let key1 = config.get("key1").unwrap();
7    let key2 = config.get("key2").unwrap();
8
9    println!("key1: {}", key1);
10    println!("key2: {}", key2);
11}