Documentation ¶ Index ¶ type UserMock func (repository *UserMock) Delete(name *user.Name) error func (repository *UserMock) Save(user *user.User) error func (repository *UserMock) Search(name *user.Name) (*user.User, error) func (repository *UserMock) Update(user *user.User) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type UserMock ¶ type UserMock struct { mock.Mock } func (*UserMock) Delete ¶ func (repository *UserMock) Delete(name *user.Name) error func (*UserMock) Save ¶ func (repository *UserMock) Save(user *user.User) error func (*UserMock) Search ¶ func (repository *UserMock) Search(name *user.Name) (*user.User, error) func (*UserMock) Update ¶ func (repository *UserMock) Update(user *user.User) error Source Files ¶ View all Source files user.mock.go Directories ¶ Show internal Expand all Path Synopsis sql Click to show internal directories. Click to hide internal directories.