Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrResourceNotFound = errors.New("resource not found")
)
Functions ¶
This section is empty.
Types ¶
type IDGenerator ¶
* ID generator *
type IDManager ¶
type IDManager interface { IDGenerator IDValidator }
func NewIDManager ¶
func NewIDManager(validator IDValidator, generator IDGenerator) IDManager
* ID manager *
type UsersReadWriter ¶
type UsersReadWriter interface { UsersReader UsersWriter }
type UsersReader ¶
* Repository *
Click to show internal directories.
Click to hide internal directories.