Added EnvVar (#24)

Reviewed-on: phoenix/icarus_envy#24
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-10-10 17:37:32 +00:00
committed by phoenix
parent 86c5050c7b
commit 38e0073cbe
5 changed files with 95 additions and 41 deletions
+13
View File
@@ -1,2 +1,15 @@
pub mod environment;
pub mod keys;
#[derive(Debug, Default, Clone)]
pub struct EnvVar {
pub key: String,
pub value: String,
}
pub fn init_envvar(key: &str, value: &str) -> EnvVar {
EnvVar {
key: key.to_string(),
value: value.to_string(),
}
}