mirror of https://gitee.com/answerdev/answer.git
11 lines
186 B
Go
11 lines
186 B
Go
|
package unique
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
)
|
||
|
|
||
|
// UniqueIDRepo unique id repository
|
||
|
type UniqueIDRepo interface {
|
||
|
GenUniqueIDStr(ctx context.Context, key string) (uniqueID string, err error)
|
||
|
}
|