mocks

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Delete

func (_m *Repository) Delete(postID int) error

Delete provides a mock function with given fields: postID

func (*Repository) Exists

func (_m *Repository) Exists(postID int) bool

Exists provides a mock function with given fields: postID

func (*Repository) Insert

func (_m *Repository) Insert(postID int, catID *int) error

Insert provides a mock function with given fields: postID, catID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL