| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package contract | package contract | ||||
| type IIdGenerator interface { | type IIdGenerator interface { | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package contract | package contract | ||||
| type ISnowWorker interface { | type ISnowWorker interface { | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package contract | package contract | ||||
| import "fmt" | import "fmt" | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package contract | package contract | ||||
| type IdGeneratorOptions struct { | type IdGeneratorOptions struct { | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package contract | package contract | ||||
| type OverCostActionArg struct { | type OverCostActionArg struct { | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package core | package core | ||||
| import ( | import ( | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package core | package core | ||||
| import ( | import ( | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package idgen | package idgen | ||||
| import ( | import ( | ||||
| @@ -1,3 +1,9 @@ | |||||
| /* | |||||
| * 版权属于:yitter(yitter@126.com) | |||||
| * 代码编辑:guoyahao | |||||
| * 代码修订:yitter | |||||
| * 开源地址:https://gitee.com/yitter/idgenerator | |||||
| */ | |||||
| package idgen | package idgen | ||||
| import ( | import ( | ||||