1
0
mirror of synced 2025-12-27 23:47:57 +08:00

update: remove something

This commit is contained in:
koukouchan
2022-08-24 21:42:26 +08:00
parent 59348c8749
commit 8d8b6e6092
6 changed files with 10 additions and 5 deletions

View File

@@ -2,6 +2,9 @@
雪花算法生成器IdGenerator
"""
# !/usr/bin/python
# coding=UTF-8
from . import options
from . import snowflake_m1

View File

@@ -2,6 +2,10 @@
worker id generator
"""
# !/usr/bin/python
# coding=UTF-8
from threading import Thread
import time
import logging

View File

@@ -2,6 +2,9 @@
生成器IdGenerator配置选项
"""
# !/usr/bin/python
# coding=UTF-8
class IdGeneratorOptions:
"""

View File

@@ -6,8 +6,6 @@
# !/usr/bin/python
# coding=UTF-8
# 组件编号生成器
class SnowFlake():

View File

@@ -11,9 +11,6 @@ from .snowflake import SnowFlake
from .options import IdGeneratorOptions
# 组件编号生成器
class SnowFlakeM1(SnowFlake):
"""
M1规则ID生成器配置