Browse Source

AddGo

tags/v1.0.0
zhouzj 3 years ago
parent
commit
ff61e67a03
9 changed files with 54 additions and 0 deletions
  1. +6
    -0
      Go/source/yitidgen/contract/IIdGenerator.go
  2. +6
    -0
      Go/source/yitidgen/contract/ISnowWorker.go
  3. +6
    -0
      Go/source/yitidgen/contract/IdGeneratorException.go
  4. +6
    -0
      Go/source/yitidgen/contract/IdGeneratorOptions.go
  5. +6
    -0
      Go/source/yitidgen/contract/OverCostActionArg.go
  6. +6
    -0
      Go/source/yitidgen/core/snowWorkerM1.go
  7. +6
    -0
      Go/source/yitidgen/core/snowWorkerM2.go
  8. +6
    -0
      Go/source/yitidgen/idgen/DefaultIdGenerator.go
  9. +6
    -0
      Go/source/yitidgen/idgen/YitIdHelper.go

+ 6
- 0
Go/source/yitidgen/contract/IIdGenerator.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package contract

type IIdGenerator interface {


+ 6
- 0
Go/source/yitidgen/contract/ISnowWorker.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package contract

type ISnowWorker interface {


+ 6
- 0
Go/source/yitidgen/contract/IdGeneratorException.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package contract

import "fmt"


+ 6
- 0
Go/source/yitidgen/contract/IdGeneratorOptions.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package contract

type IdGeneratorOptions struct {


+ 6
- 0
Go/source/yitidgen/contract/OverCostActionArg.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package contract

type OverCostActionArg struct {


+ 6
- 0
Go/source/yitidgen/core/snowWorkerM1.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package core

import (


+ 6
- 0
Go/source/yitidgen/core/snowWorkerM2.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package core

import (


+ 6
- 0
Go/source/yitidgen/idgen/DefaultIdGenerator.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package idgen

import (


+ 6
- 0
Go/source/yitidgen/idgen/YitIdHelper.go View File

@@ -1,3 +1,9 @@
/*
* 版权属于:yitter(yitter@126.com)
* 代码编辑:guoyahao
* 代码修订:yitter
* 开源地址:https://gitee.com/yitter/idgenerator
*/
package idgen

import (


Loading…
Cancel
Save