Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IListNodeRepository ¶
IListNodeRepository is an autogenerated mock type for the IListNodeRepository type
func NewIListNodeRepository ¶
func NewIListNodeRepository(t interface { mock.TestingT Cleanup(func()) }) *IListNodeRepository
NewIListNodeRepository creates a new instance of IListNodeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IListNodeRepository) InsertLists ¶
func (_m *IListNodeRepository) InsertLists(lists []*models.ListNode) (int64, error)
InsertLists provides a mock function with given fields: lists
func (*IListNodeRepository) SelectLists ¶
func (_m *IListNodeRepository) SelectLists(id int64) ([]*models.ListNode, error)
SelectLists provides a mock function with given fields: id
func (*IListNodeRepository) UpdateMergedList ¶
func (_m *IListNodeRepository) UpdateMergedList(mergedList models.ListNode, id int64) error
UpdateMergedList provides a mock function with given fields: mergedList, id
type IListNodeService ¶
IListNodeService is an autogenerated mock type for the IListNodeService type
func NewIListNodeService ¶
func NewIListNodeService(t interface { mock.TestingT Cleanup(func()) }) *IListNodeService
NewIListNodeService creates a new instance of IListNodeService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IListNodeService) GetMergedListNode ¶
func (_m *IListNodeService) GetMergedListNode(id int64) (*models.ListNode, error)
GetMergedListNode provides a mock function with given fields: id
func (*IListNodeService) SaveListsNode ¶
func (_m *IListNodeService) SaveListsNode(list1 *models.ListNode, list2 *models.ListNode) (int64, error)
SaveListsNode provides a mock function with given fields: list1, list2