Documentation ¶
Overview ¶
Package mock_bookmarks is a generated GoMock package.
Index ¶
- type MockIBookmarks
- func (m *MockIBookmarks) AddBookmark(arg0 *bookmarks.Bookmark) error
- func (m *MockIBookmarks) ApplyFilters(arg0 *bookmarks.Filters) (*bookmarks.Bookmarks, error)
- func (m *MockIBookmarks) ByPostCreateAt() ([]*bookmarks.Bookmark, error)
- func (m *MockIBookmarks) DeleteBookmark(arg0 string) (*bookmarks.Bookmark, error)
- func (m *MockIBookmarks) DeleteLabel(arg0, arg1 string) error
- func (m *MockIBookmarks) EXPECT() *MockIBookmarksMockRecorder
- func (m *MockIBookmarks) GetBmarkLabelNames(arg0 *bookmarks.Bookmark) ([]string, error)
- func (m *MockIBookmarks) GetBmarkTextOneLine(arg0 *bookmarks.Bookmark, arg1 []string) (string, error)
- func (m *MockIBookmarks) GetBookmark(arg0 string) (*bookmarks.Bookmark, error)
- func (m *MockIBookmarks) GetBookmarksWithLabelID(arg0 string) (*bookmarks.Bookmarks, error)
- type MockIBookmarksMockRecorder
- func (mr *MockIBookmarksMockRecorder) AddBookmark(arg0 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) ApplyFilters(arg0 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) ByPostCreateAt() *gomock.Call
- func (mr *MockIBookmarksMockRecorder) DeleteBookmark(arg0 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) DeleteLabel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) GetBmarkLabelNames(arg0 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) GetBmarkTextOneLine(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) GetBookmark(arg0 interface{}) *gomock.Call
- func (mr *MockIBookmarksMockRecorder) GetBookmarksWithLabelID(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIBookmarks ¶
type MockIBookmarks struct {
// contains filtered or unexported fields
}
MockIBookmarks is a mock of IBookmarks interface
func NewMockIBookmarks ¶
func NewMockIBookmarks(ctrl *gomock.Controller) *MockIBookmarks
NewMockIBookmarks creates a new mock instance
func (*MockIBookmarks) AddBookmark ¶
func (m *MockIBookmarks) AddBookmark(arg0 *bookmarks.Bookmark) error
AddBookmark mocks base method
func (*MockIBookmarks) ApplyFilters ¶
ApplyFilters mocks base method
func (*MockIBookmarks) ByPostCreateAt ¶
func (m *MockIBookmarks) ByPostCreateAt() ([]*bookmarks.Bookmark, error)
ByPostCreateAt mocks base method
func (*MockIBookmarks) DeleteBookmark ¶
func (m *MockIBookmarks) DeleteBookmark(arg0 string) (*bookmarks.Bookmark, error)
DeleteBookmark mocks base method
func (*MockIBookmarks) DeleteLabel ¶
func (m *MockIBookmarks) DeleteLabel(arg0, arg1 string) error
DeleteLabel mocks base method
func (*MockIBookmarks) EXPECT ¶
func (m *MockIBookmarks) EXPECT() *MockIBookmarksMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIBookmarks) GetBmarkLabelNames ¶
func (m *MockIBookmarks) GetBmarkLabelNames(arg0 *bookmarks.Bookmark) ([]string, error)
GetBmarkLabelNames mocks base method
func (*MockIBookmarks) GetBmarkTextOneLine ¶
func (m *MockIBookmarks) GetBmarkTextOneLine(arg0 *bookmarks.Bookmark, arg1 []string) (string, error)
GetBmarkTextOneLine mocks base method
func (*MockIBookmarks) GetBookmark ¶
func (m *MockIBookmarks) GetBookmark(arg0 string) (*bookmarks.Bookmark, error)
GetBookmark mocks base method
func (*MockIBookmarks) GetBookmarksWithLabelID ¶
func (m *MockIBookmarks) GetBookmarksWithLabelID(arg0 string) (*bookmarks.Bookmarks, error)
GetBookmarksWithLabelID mocks base method
type MockIBookmarksMockRecorder ¶
type MockIBookmarksMockRecorder struct {
// contains filtered or unexported fields
}
MockIBookmarksMockRecorder is the mock recorder for MockIBookmarks
func (*MockIBookmarksMockRecorder) AddBookmark ¶
func (mr *MockIBookmarksMockRecorder) AddBookmark(arg0 interface{}) *gomock.Call
AddBookmark indicates an expected call of AddBookmark
func (*MockIBookmarksMockRecorder) ApplyFilters ¶
func (mr *MockIBookmarksMockRecorder) ApplyFilters(arg0 interface{}) *gomock.Call
ApplyFilters indicates an expected call of ApplyFilters
func (*MockIBookmarksMockRecorder) ByPostCreateAt ¶
func (mr *MockIBookmarksMockRecorder) ByPostCreateAt() *gomock.Call
ByPostCreateAt indicates an expected call of ByPostCreateAt
func (*MockIBookmarksMockRecorder) DeleteBookmark ¶
func (mr *MockIBookmarksMockRecorder) DeleteBookmark(arg0 interface{}) *gomock.Call
DeleteBookmark indicates an expected call of DeleteBookmark
func (*MockIBookmarksMockRecorder) DeleteLabel ¶
func (mr *MockIBookmarksMockRecorder) DeleteLabel(arg0, arg1 interface{}) *gomock.Call
DeleteLabel indicates an expected call of DeleteLabel
func (*MockIBookmarksMockRecorder) GetBmarkLabelNames ¶
func (mr *MockIBookmarksMockRecorder) GetBmarkLabelNames(arg0 interface{}) *gomock.Call
GetBmarkLabelNames indicates an expected call of GetBmarkLabelNames
func (*MockIBookmarksMockRecorder) GetBmarkTextOneLine ¶
func (mr *MockIBookmarksMockRecorder) GetBmarkTextOneLine(arg0, arg1 interface{}) *gomock.Call
GetBmarkTextOneLine indicates an expected call of GetBmarkTextOneLine
func (*MockIBookmarksMockRecorder) GetBookmark ¶
func (mr *MockIBookmarksMockRecorder) GetBookmark(arg0 interface{}) *gomock.Call
GetBookmark indicates an expected call of GetBookmark
func (*MockIBookmarksMockRecorder) GetBookmarksWithLabelID ¶
func (mr *MockIBookmarksMockRecorder) GetBookmarksWithLabelID(arg0 interface{}) *gomock.Call
GetBookmarksWithLabelID indicates an expected call of GetBookmarksWithLabelID