Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdGenerator ¶
type IdGenerator interface {
GenerateId() string
}
type IncrementalGenerator ¶
type IncrementalGenerator struct {
// contains filtered or unexported fields
}
func NewIncrementalGenerator ¶
func NewIncrementalGenerator() *IncrementalGenerator
func (*IncrementalGenerator) GenerateId ¶
func (i *IncrementalGenerator) GenerateId() string
type UUIDGenerator ¶
type UUIDGenerator struct {
}
func NewUUIDGenerator ¶
func NewUUIDGenerator() *UUIDGenerator
func (*UUIDGenerator) GenerateId ¶
func (u *UUIDGenerator) GenerateId() string
Click to show internal directories.
Click to hide internal directories.