Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderRegistration ¶
ProviderRegistration 提供方注册信息
type ProviderRegistry ¶
type ProviderRegistry interface {
Registration() *ProviderRegistration
}
ProviderRegistry 提供方注册接口
type Service ¶
type Service interface {
Source() Source
Reader() io.Reader
NextString(length int) string
NextBytes(length int) []byte
NextInt() int
NextInt64() int64
}
Service 随机数服务
type UUIDBuilder ¶ added in v1.0.21
type UUIDBuilder interface {
Generate() lang.UUID
Others(value ...string) UUIDBuilder // 其它参数
Class(value string) UUIDBuilder
ID(value string) UUIDBuilder
}
UUIDBuilder ...
type UUIDService ¶ added in v1.0.21
type UUIDService interface {
Build() UUIDBuilder
}
UUIDService 是 UUID 创建服务
Click to show internal directories.
Click to hide internal directories.