1
0
mirror of synced 2025-12-16 01:58:09 +08:00

fix: filename

This commit is contained in:
koukouchan
2022-08-24 21:34:36 +08:00
parent 27caa402d4
commit cf5be53574
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
"""
雪花算法生成器接口声明
"""
# !/usr/bin/python
# coding=UTF-8
# 组件编号生成器
class SnowFlake():
def __init__(self, options):
self.options = options
def next_id(self) -> int:
"""
获取新的UUID
"""
return 0