wang_utils/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! 自己整理的工具类集合
//! # Examples
//! ```
//! use std::collections::HashMap;
//! use wang_utils::hashmap::HashmapCustom;
//!
//! let mut map = HashMap::new();
//! map.set_value("i32", 111);
//! map.set_value("String", "111".to_string());
//! let option = map.get_value::<i32>("i32");
//! assert_eq!(Some(111), option);
//! let option1 = map.get_value_ref::<String>("String");
//! assert_eq!(Some(&"111".to_string()), option1);
//! ```

/// 命令行工具集合
pub mod command;
/// 文件相关工具集合
pub mod fs;
/// hashmap工具集合
pub mod hashmap;
mod logger;