Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IDGenerator ¶
type IDGenerator struct {
// contains filtered or unexported fields
}
func NewIDGenerator ¶
func NewIDGenerator(startValue int32) *IDGenerator
func (*IDGenerator) Generate ¶
func (g *IDGenerator) Generate() int32
Click to show internal directories.
Click to hide internal directories.