1
0
mirror of synced 2025-11-06 03:20:55 +08:00
Files
SnowFlake-IdGenerator/ZeOthers/Vlang/source/gen/YitIdHelper.v
2021-04-01 13:29:57 +08:00

12 lines
166 B
V

module gen
import contract
pub struct YitIdHelper {
mut:
id_gen contract.IIdGenerator
}
pub fn (yih &YitIdHelper) next_id() u64 {
return yih.id_gen.new_long()
}