1
0
mirror of synced 2026-04-15 04:48:39 +08:00

auto commit

This commit is contained in:
yitter
2021-04-01 13:29:57 +08:00
parent 9c7f4fb115
commit 09ddeccef5
11 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
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()
}