Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccountService *AccountServiceProvider = &AccountServiceProvider{} IDGen *UniqueIDGenerator )
Functions ¶
This section is empty.
Types ¶
type AccountServiceProvider ¶
type AccountServiceProvider struct{}
type UniqueIDGenerator ¶
type UniqueIDGenerator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(start int64) *UniqueIDGenerator
func (*UniqueIDGenerator) Next ¶
func (g *UniqueIDGenerator) Next() int64
Click to show internal directories.
Click to hide internal directories.