From ff61e67a031d6dc4317f3d1dbcae26d8c07cbc23 Mon Sep 17 00:00:00 2001 From: zhouzj Date: Fri, 19 Mar 2021 22:21:42 +0800 Subject: [PATCH] AddGo --- Go/source/yitidgen/contract/IIdGenerator.go | 6 ++++++ Go/source/yitidgen/contract/ISnowWorker.go | 6 ++++++ Go/source/yitidgen/contract/IdGeneratorException.go | 6 ++++++ Go/source/yitidgen/contract/IdGeneratorOptions.go | 6 ++++++ Go/source/yitidgen/contract/OverCostActionArg.go | 6 ++++++ Go/source/yitidgen/core/snowWorkerM1.go | 6 ++++++ Go/source/yitidgen/core/snowWorkerM2.go | 6 ++++++ Go/source/yitidgen/idgen/DefaultIdGenerator.go | 6 ++++++ Go/source/yitidgen/idgen/YitIdHelper.go | 6 ++++++ 9 files changed, 54 insertions(+) diff --git a/Go/source/yitidgen/contract/IIdGenerator.go b/Go/source/yitidgen/contract/IIdGenerator.go index 88f0675..48c346f 100644 --- a/Go/source/yitidgen/contract/IIdGenerator.go +++ b/Go/source/yitidgen/contract/IIdGenerator.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package contract type IIdGenerator interface { diff --git a/Go/source/yitidgen/contract/ISnowWorker.go b/Go/source/yitidgen/contract/ISnowWorker.go index b15b562..5a98ad9 100644 --- a/Go/source/yitidgen/contract/ISnowWorker.go +++ b/Go/source/yitidgen/contract/ISnowWorker.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package contract type ISnowWorker interface { diff --git a/Go/source/yitidgen/contract/IdGeneratorException.go b/Go/source/yitidgen/contract/IdGeneratorException.go index f1b280f..9b3cf05 100644 --- a/Go/source/yitidgen/contract/IdGeneratorException.go +++ b/Go/source/yitidgen/contract/IdGeneratorException.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package contract import "fmt" diff --git a/Go/source/yitidgen/contract/IdGeneratorOptions.go b/Go/source/yitidgen/contract/IdGeneratorOptions.go index c46e032..94e5ab1 100644 --- a/Go/source/yitidgen/contract/IdGeneratorOptions.go +++ b/Go/source/yitidgen/contract/IdGeneratorOptions.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package contract type IdGeneratorOptions struct { diff --git a/Go/source/yitidgen/contract/OverCostActionArg.go b/Go/source/yitidgen/contract/OverCostActionArg.go index 405aa05..1bb6606 100644 --- a/Go/source/yitidgen/contract/OverCostActionArg.go +++ b/Go/source/yitidgen/contract/OverCostActionArg.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package contract type OverCostActionArg struct { diff --git a/Go/source/yitidgen/core/snowWorkerM1.go b/Go/source/yitidgen/core/snowWorkerM1.go index 52063dd..6a56e0f 100644 --- a/Go/source/yitidgen/core/snowWorkerM1.go +++ b/Go/source/yitidgen/core/snowWorkerM1.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package core import ( diff --git a/Go/source/yitidgen/core/snowWorkerM2.go b/Go/source/yitidgen/core/snowWorkerM2.go index c9baa72..9cdb9e9 100644 --- a/Go/source/yitidgen/core/snowWorkerM2.go +++ b/Go/source/yitidgen/core/snowWorkerM2.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package core import ( diff --git a/Go/source/yitidgen/idgen/DefaultIdGenerator.go b/Go/source/yitidgen/idgen/DefaultIdGenerator.go index ea17218..2a6278d 100644 --- a/Go/source/yitidgen/idgen/DefaultIdGenerator.go +++ b/Go/source/yitidgen/idgen/DefaultIdGenerator.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package idgen import ( diff --git a/Go/source/yitidgen/idgen/YitIdHelper.go b/Go/source/yitidgen/idgen/YitIdHelper.go index 90f1cd2..491cee7 100644 --- a/Go/source/yitidgen/idgen/YitIdHelper.go +++ b/Go/source/yitidgen/idgen/YitIdHelper.go @@ -1,3 +1,9 @@ +/* + * 版权属于:yitter(yitter@126.com) + * 代码编辑:guoyahao + * 代码修订:yitter + * 开源地址:https://gitee.com/yitter/idgenerator + */ package idgen import ( -- GitLab