Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type BookmarkRepoMock
- func (m *BookmarkRepoMock) Create(arg0 *bookmarks.Bookmark) error
- func (m *BookmarkRepoMock) EXPECT() *BookmarkRepoMockMockRecorder
- func (m *BookmarkRepoMock) Find(arg0 string) ([]bookmarks.Bookmark, error)
- func (m *BookmarkRepoMock) FindByName(arg0 string) ([]bookmarks.Bookmark, error)
- func (m *BookmarkRepoMock) FindByTag(arg0 string) ([]bookmarks.Bookmark, error)
- type BookmarkRepoMockMockRecorder
- func (mr *BookmarkRepoMockMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *BookmarkRepoMockMockRecorder) Find(arg0 interface{}) *gomock.Call
- func (mr *BookmarkRepoMockMockRecorder) FindByName(arg0 interface{}) *gomock.Call
- func (mr *BookmarkRepoMockMockRecorder) FindByTag(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookmarkRepoMock ¶
type BookmarkRepoMock struct {
// contains filtered or unexported fields
}
BookmarkRepoMock is a mock of Repo interface.
func NewBookmarkRepoMock ¶
func NewBookmarkRepoMock(ctrl *gomock.Controller) *BookmarkRepoMock
NewBookmarkRepoMock creates a new mock instance.
func (*BookmarkRepoMock) Create ¶
func (m *BookmarkRepoMock) Create(arg0 *bookmarks.Bookmark) error
Create mocks base method.
func (*BookmarkRepoMock) EXPECT ¶
func (m *BookmarkRepoMock) EXPECT() *BookmarkRepoMockMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*BookmarkRepoMock) Find ¶
func (m *BookmarkRepoMock) Find(arg0 string) ([]bookmarks.Bookmark, error)
Find mocks base method.
func (*BookmarkRepoMock) FindByName ¶
func (m *BookmarkRepoMock) FindByName(arg0 string) ([]bookmarks.Bookmark, error)
FindByName mocks base method.
type BookmarkRepoMockMockRecorder ¶
type BookmarkRepoMockMockRecorder struct {
// contains filtered or unexported fields
}
BookmarkRepoMockMockRecorder is the mock recorder for BookmarkRepoMock.
func (*BookmarkRepoMockMockRecorder) Create ¶
func (mr *BookmarkRepoMockMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*BookmarkRepoMockMockRecorder) Find ¶
func (mr *BookmarkRepoMockMockRecorder) Find(arg0 interface{}) *gomock.Call
Find indicates an expected call of Find.
func (*BookmarkRepoMockMockRecorder) FindByName ¶
func (mr *BookmarkRepoMockMockRecorder) FindByName(arg0 interface{}) *gomock.Call
FindByName indicates an expected call of FindByName.
func (*BookmarkRepoMockMockRecorder) FindByTag ¶
func (mr *BookmarkRepoMockMockRecorder) FindByTag(arg0 interface{}) *gomock.Call
FindByTag indicates an expected call of FindByTag.
Click to show internal directories.
Click to hide internal directories.