Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IIdentifier ¶
type Identifier ¶
type Identifier struct {
// contains filtered or unexported fields
}
func NewIdentifier ¶
func NewIdentifier(characters string, namespace string) *Identifier
func (Identifier) NewNanoID ¶
func (i Identifier) NewNanoID() string
func (Identifier) NewUUIDv5 ¶
func (i Identifier) NewUUIDv5(name string) string
type MockIdentifier ¶
type MockIdentifier struct{}
MockIdentifier mockNanoGenerator Mock of IIdentifier
func NewMockIdentifier ¶
func NewMockIdentifier() MockIdentifier
func (MockIdentifier) NewNanoID ¶
func (m MockIdentifier) NewNanoID() string
func (MockIdentifier) NewUUIDv5 ¶
func (m MockIdentifier) NewUUIDv5(name string) string
Click to show internal directories.
Click to hide internal directories.