feat(serial):基本完成冰雹ID生成器设计,基本完成全部计划中功能设计。

This commit is contained in:
徐涛
2023-07-03 22:33:15 +08:00
parent 3f3191fcea
commit e6447fdd43
4 changed files with 125 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
pub mod hail;
pub mod uuid {
pub fn new() -> Box<String> {
Box::from(uuid::Uuid::new_v4().to_string())