Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrItemNotFound = fmt.Errorf("item is not found")
)
Functions ¶
This section is empty.
Types ¶
type Store ¶
func New ¶
New initialize a new storage. Params:
mockN parameter indicates how many mocked data need to generate.
func (*Store) Edit ¶
Edit makes an edition of the Item in the storage. Returns ErrItemNotFound if Item was not find.
Click to show internal directories.
Click to hide internal directories.