1
0
mirror of synced 2026-04-13 20:08:39 +08:00
Files
SnowFlake-IdGenerator/ZeOthers/Vlang/source/gen/YitIdHelper.v
2021-03-27 22:07:52 +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()
}