Documentation
¶
Overview ¶
Package mockdb is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddCommentLikes(arg0 context.Context, arg1 int64) (db.Comment, error)
- func (m *MockStore) CountAllArticles(arg0 context.Context) (int64, error)
- func (m *MockStore) CountArticles(arg0 context.Context, arg1 db.CountArticlesParams) (int64, error)
- func (m *MockStore) CountArticlesByCategoryID(arg0 context.Context, arg1 int64) (int64, error)
- func (m *MockStore) CountCategories(arg0 context.Context) (int64, error)
- func (m *MockStore) CountSearchArticles(arg0 context.Context, arg1 db.CountSearchArticlesParams) (int64, error)
- func (m *MockStore) CreateAdmin(arg0 context.Context, arg1 db.CreateAdminParams) (db.Admin, error)
- func (m *MockStore) CreateArticle(arg0 context.Context, arg1 db.CreateArticleParams) (db.Article, error)
- func (m *MockStore) CreateCategory(arg0 context.Context, arg1 string) (db.Category, error)
- func (m *MockStore) CreateCategoryTx(arg0 context.Context, arg1 db.CreateCategoryTxParams) (db.CreateCategoryTxResult, error)
- func (m *MockStore) CreateComment(arg0 context.Context, arg1 db.CreateCommentParams) (db.Comment, error)
- func (m *MockStore) CreateSession(arg0 context.Context, arg1 db.CreateSessionParams) (db.Session, error)
- func (m *MockStore) CreateUser(arg0 context.Context, arg1 db.CreateUserParams) (db.User, error)
- func (m *MockStore) CreateUserTx(arg0 context.Context, arg1 db.CreateUserTxParams) (db.CreateUserTxResult, error)
- func (m *MockStore) CreateVerifyEmail(arg0 context.Context, arg1 db.CreateVerifyEmailParams) (db.VerifyEmail, error)
- func (m *MockStore) DeleteArticle(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) DeleteArticleTx(arg0 context.Context, arg1 db.DeleteArticleTxParams) error
- func (m *MockStore) DeleteCategory(arg0 context.Context, arg1 int64) error
- func (m *MockStore) DeleteCategoryTx(arg0 context.Context, arg1 db.DeleteCategoryTxParams) error
- func (m *MockStore) DeleteChildComments(arg0 context.Context, arg1 int64) error
- func (m *MockStore) DeleteComment(arg0 context.Context, arg1 int64) error
- func (m *MockStore) DeleteCommentsByArticleID(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAdmin(arg0 context.Context, arg1 string) (db.Admin, error)
- func (m *MockStore) GetAdminById(arg0 context.Context, arg1 int64) (db.Admin, error)
- func (m *MockStore) GetArticle(arg0 context.Context, arg1 uuid.UUID) (db.GetArticleRow, error)
- func (m *MockStore) GetArticleBySlug(arg0 context.Context, arg1 pgtype.Text) (db.GetArticleBySlugRow, error)
- func (m *MockStore) GetArticleForUpdate(arg0 context.Context, arg1 uuid.UUID) (db.GetArticleForUpdateRow, error)
- func (m *MockStore) GetCategory(arg0 context.Context, arg1 int64) (db.Category, error)
- func (m *MockStore) GetCategoryByName(arg0 context.Context, arg1 string) (db.Category, error)
- func (m *MockStore) GetComment(arg0 context.Context, arg1 int64) (db.Comment, error)
- func (m *MockStore) GetSession(arg0 context.Context, arg1 uuid.UUID) (db.Session, error)
- func (m *MockStore) GetUser(arg0 context.Context, arg1 uuid.UUID) (db.User, error)
- func (m *MockStore) GetUserByUsername(arg0 context.Context, arg1 string) (db.User, error)
- func (m *MockStore) IncrementArticleLikes(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) IncrementArticleViews(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockStore) ListAllArticles(arg0 context.Context, arg1 db.ListAllArticlesParams) ([]db.ListAllArticlesRow, error)
- func (m *MockStore) ListAllCategories(arg0 context.Context) ([]db.Category, error)
- func (m *MockStore) ListArticles(arg0 context.Context, arg1 db.ListArticlesParams) ([]db.ListArticlesRow, error)
- func (m *MockStore) ListArticlesByCategoryID(arg0 context.Context, arg1 db.ListArticlesByCategoryIDParams) ([]db.ListArticlesByCategoryIDRow, error)
- func (m *MockStore) ListCategoriesCountArticles(arg0 context.Context) ([]db.ListCategoriesCountArticlesRow, error)
- func (m *MockStore) ListCommentsByArticleID(arg0 context.Context, arg1 uuid.UUID) ([]db.ListCommentsByArticleIDRow, error)
- func (m *MockStore) ListInitSysMenus(arg0 context.Context, arg1 int64) ([]db.ListInitSysMenusRow, error)
- func (m *MockStore) SearchArticles(arg0 context.Context, arg1 db.SearchArticlesParams) ([]db.SearchArticlesRow, error)
- func (m *MockStore) SetArticleDefaultCategoryIdByCategoryId(arg0 context.Context, arg1 int64) error
- func (m *MockStore) UpdateAdmin(arg0 context.Context, arg1 db.UpdateAdminParams) (db.Admin, error)
- func (m *MockStore) UpdateArticle(arg0 context.Context, arg1 db.UpdateArticleParams) (db.Article, error)
- func (m *MockStore) UpdateArticleTx(arg0 context.Context, arg1 db.UpdateArticleTxParams) (db.UpdateArticleTxResult, error)
- func (m *MockStore) UpdateCategory(arg0 context.Context, arg1 db.UpdateCategoryParams) (db.Category, error)
- func (m *MockStore) UpdateCategoryTx(arg0 context.Context, arg1 db.UpdateCategoryTxParams) (db.UpdateCategoryTxResult, error)
- func (m *MockStore) UpdateUser(arg0 context.Context, arg1 db.UpdateUserParams) (db.User, error)
- func (m *MockStore) UpdateVerifyEmail(arg0 context.Context, arg1 db.UpdateVerifyEmailParams) (db.VerifyEmail, error)
- func (m *MockStore) VerifyEmailTx(arg0 context.Context, arg1 db.VerifyEmailTxParams) (db.VerifyEmailTxResult, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddCommentLikes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountAllArticles(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountArticles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountArticlesByCategoryID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountCategories(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CountSearchArticles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateAdmin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateArticle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateCategory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateCategoryTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateComment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateSession(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateUserTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateVerifyEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteArticle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteArticleTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteCategory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteCategoryTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteChildComments(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteComment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteCommentsByArticleID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAdmin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAdminById(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetArticle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetArticleBySlug(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetArticleForUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCategory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetCategoryByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetComment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetSession(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUserByUsername(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IncrementArticleLikes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) IncrementArticleViews(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAllArticles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAllCategories(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListArticles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListArticlesByCategoryID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListCategoriesCountArticles(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListCommentsByArticleID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListInitSysMenus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SearchArticles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetArticleDefaultCategoryIdByCategoryId(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAdmin(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateArticle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateArticleTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateCategory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateCategoryTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateVerifyEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) VerifyEmailTx(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface.
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance.
func (*MockStore) AddCommentLikes ¶
AddCommentLikes mocks base method.
func (*MockStore) CountAllArticles ¶
CountAllArticles mocks base method.
func (*MockStore) CountArticles ¶
CountArticles mocks base method.
func (*MockStore) CountArticlesByCategoryID ¶
CountArticlesByCategoryID mocks base method.
func (*MockStore) CountCategories ¶
CountCategories mocks base method.
func (*MockStore) CountSearchArticles ¶ added in v1.2.1
func (m *MockStore) CountSearchArticles(arg0 context.Context, arg1 db.CountSearchArticlesParams) (int64, error)
CountSearchArticles mocks base method.
func (*MockStore) CreateAdmin ¶
CreateAdmin mocks base method.
func (*MockStore) CreateArticle ¶
func (m *MockStore) CreateArticle(arg0 context.Context, arg1 db.CreateArticleParams) (db.Article, error)
CreateArticle mocks base method.
func (*MockStore) CreateCategory ¶
CreateCategory mocks base method.
func (*MockStore) CreateCategoryTx ¶ added in v1.3.0
func (m *MockStore) CreateCategoryTx(arg0 context.Context, arg1 db.CreateCategoryTxParams) (db.CreateCategoryTxResult, error)
CreateCategoryTx mocks base method.
func (*MockStore) CreateComment ¶
func (m *MockStore) CreateComment(arg0 context.Context, arg1 db.CreateCommentParams) (db.Comment, error)
CreateComment mocks base method.
func (*MockStore) CreateSession ¶
func (m *MockStore) CreateSession(arg0 context.Context, arg1 db.CreateSessionParams) (db.Session, error)
CreateSession mocks base method.
func (*MockStore) CreateUser ¶
CreateUser mocks base method.
func (*MockStore) CreateUserTx ¶
func (m *MockStore) CreateUserTx(arg0 context.Context, arg1 db.CreateUserTxParams) (db.CreateUserTxResult, error)
CreateUserTx mocks base method.
func (*MockStore) CreateVerifyEmail ¶
func (m *MockStore) CreateVerifyEmail(arg0 context.Context, arg1 db.CreateVerifyEmailParams) (db.VerifyEmail, error)
CreateVerifyEmail mocks base method.
func (*MockStore) DeleteArticle ¶
DeleteArticle mocks base method.
func (*MockStore) DeleteArticleTx ¶
DeleteArticleTx mocks base method.
func (*MockStore) DeleteCategory ¶
DeleteCategory mocks base method.
func (*MockStore) DeleteCategoryTx ¶
DeleteCategoryTx mocks base method.
func (*MockStore) DeleteChildComments ¶
DeleteChildComments mocks base method.
func (*MockStore) DeleteComment ¶
DeleteComment mocks base method.
func (*MockStore) DeleteCommentsByArticleID ¶
DeleteCommentsByArticleID mocks base method.
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStore) GetAdminById ¶
GetAdminById mocks base method.
func (*MockStore) GetArticle ¶
GetArticle mocks base method.
func (*MockStore) GetArticleBySlug ¶ added in v1.3.0
func (m *MockStore) GetArticleBySlug(arg0 context.Context, arg1 pgtype.Text) (db.GetArticleBySlugRow, error)
GetArticleBySlug mocks base method.
func (*MockStore) GetArticleForUpdate ¶
func (m *MockStore) GetArticleForUpdate(arg0 context.Context, arg1 uuid.UUID) (db.GetArticleForUpdateRow, error)
GetArticleForUpdate mocks base method.
func (*MockStore) GetCategory ¶
GetCategory mocks base method.
func (*MockStore) GetCategoryByName ¶
GetCategoryByName mocks base method.
func (*MockStore) GetComment ¶
GetComment mocks base method.
func (*MockStore) GetSession ¶
GetSession mocks base method.
func (*MockStore) GetUserByUsername ¶
GetUserByUsername mocks base method.
func (*MockStore) IncrementArticleLikes ¶
IncrementArticleLikes mocks base method.
func (*MockStore) IncrementArticleViews ¶
IncrementArticleViews mocks base method.
func (*MockStore) ListAllArticles ¶
func (m *MockStore) ListAllArticles(arg0 context.Context, arg1 db.ListAllArticlesParams) ([]db.ListAllArticlesRow, error)
ListAllArticles mocks base method.
func (*MockStore) ListAllCategories ¶
ListAllCategories mocks base method.
func (*MockStore) ListArticles ¶
func (m *MockStore) ListArticles(arg0 context.Context, arg1 db.ListArticlesParams) ([]db.ListArticlesRow, error)
ListArticles mocks base method.
func (*MockStore) ListArticlesByCategoryID ¶
func (m *MockStore) ListArticlesByCategoryID(arg0 context.Context, arg1 db.ListArticlesByCategoryIDParams) ([]db.ListArticlesByCategoryIDRow, error)
ListArticlesByCategoryID mocks base method.
func (*MockStore) ListCategoriesCountArticles ¶
func (m *MockStore) ListCategoriesCountArticles(arg0 context.Context) ([]db.ListCategoriesCountArticlesRow, error)
ListCategoriesCountArticles mocks base method.
func (*MockStore) ListCommentsByArticleID ¶
func (m *MockStore) ListCommentsByArticleID(arg0 context.Context, arg1 uuid.UUID) ([]db.ListCommentsByArticleIDRow, error)
ListCommentsByArticleID mocks base method.
func (*MockStore) ListInitSysMenus ¶
func (m *MockStore) ListInitSysMenus(arg0 context.Context, arg1 int64) ([]db.ListInitSysMenusRow, error)
ListInitSysMenus mocks base method.
func (*MockStore) SearchArticles ¶ added in v1.2.1
func (m *MockStore) SearchArticles(arg0 context.Context, arg1 db.SearchArticlesParams) ([]db.SearchArticlesRow, error)
SearchArticles mocks base method.
func (*MockStore) SetArticleDefaultCategoryIdByCategoryId ¶
SetArticleDefaultCategoryIdByCategoryId mocks base method.
func (*MockStore) UpdateAdmin ¶
UpdateAdmin mocks base method.
func (*MockStore) UpdateArticle ¶
func (m *MockStore) UpdateArticle(arg0 context.Context, arg1 db.UpdateArticleParams) (db.Article, error)
UpdateArticle mocks base method.
func (*MockStore) UpdateArticleTx ¶
func (m *MockStore) UpdateArticleTx(arg0 context.Context, arg1 db.UpdateArticleTxParams) (db.UpdateArticleTxResult, error)
UpdateArticleTx mocks base method.
func (*MockStore) UpdateCategory ¶
func (m *MockStore) UpdateCategory(arg0 context.Context, arg1 db.UpdateCategoryParams) (db.Category, error)
UpdateCategory mocks base method.
func (*MockStore) UpdateCategoryTx ¶ added in v1.3.0
func (m *MockStore) UpdateCategoryTx(arg0 context.Context, arg1 db.UpdateCategoryTxParams) (db.UpdateCategoryTxResult, error)
UpdateCategoryTx mocks base method.
func (*MockStore) UpdateUser ¶
UpdateUser mocks base method.
func (*MockStore) UpdateVerifyEmail ¶
func (m *MockStore) UpdateVerifyEmail(arg0 context.Context, arg1 db.UpdateVerifyEmailParams) (db.VerifyEmail, error)
UpdateVerifyEmail mocks base method.
func (*MockStore) VerifyEmailTx ¶
func (m *MockStore) VerifyEmailTx(arg0 context.Context, arg1 db.VerifyEmailTxParams) (db.VerifyEmailTxResult, error)
VerifyEmailTx mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) AddCommentLikes ¶
func (mr *MockStoreMockRecorder) AddCommentLikes(arg0, arg1 interface{}) *gomock.Call
AddCommentLikes indicates an expected call of AddCommentLikes.
func (*MockStoreMockRecorder) CountAllArticles ¶
func (mr *MockStoreMockRecorder) CountAllArticles(arg0 interface{}) *gomock.Call
CountAllArticles indicates an expected call of CountAllArticles.
func (*MockStoreMockRecorder) CountArticles ¶
func (mr *MockStoreMockRecorder) CountArticles(arg0, arg1 interface{}) *gomock.Call
CountArticles indicates an expected call of CountArticles.
func (*MockStoreMockRecorder) CountArticlesByCategoryID ¶
func (mr *MockStoreMockRecorder) CountArticlesByCategoryID(arg0, arg1 interface{}) *gomock.Call
CountArticlesByCategoryID indicates an expected call of CountArticlesByCategoryID.
func (*MockStoreMockRecorder) CountCategories ¶
func (mr *MockStoreMockRecorder) CountCategories(arg0 interface{}) *gomock.Call
CountCategories indicates an expected call of CountCategories.
func (*MockStoreMockRecorder) CountSearchArticles ¶ added in v1.2.1
func (mr *MockStoreMockRecorder) CountSearchArticles(arg0, arg1 interface{}) *gomock.Call
CountSearchArticles indicates an expected call of CountSearchArticles.
func (*MockStoreMockRecorder) CreateAdmin ¶
func (mr *MockStoreMockRecorder) CreateAdmin(arg0, arg1 interface{}) *gomock.Call
CreateAdmin indicates an expected call of CreateAdmin.
func (*MockStoreMockRecorder) CreateArticle ¶
func (mr *MockStoreMockRecorder) CreateArticle(arg0, arg1 interface{}) *gomock.Call
CreateArticle indicates an expected call of CreateArticle.
func (*MockStoreMockRecorder) CreateCategory ¶
func (mr *MockStoreMockRecorder) CreateCategory(arg0, arg1 interface{}) *gomock.Call
CreateCategory indicates an expected call of CreateCategory.
func (*MockStoreMockRecorder) CreateCategoryTx ¶ added in v1.3.0
func (mr *MockStoreMockRecorder) CreateCategoryTx(arg0, arg1 interface{}) *gomock.Call
CreateCategoryTx indicates an expected call of CreateCategoryTx.
func (*MockStoreMockRecorder) CreateComment ¶
func (mr *MockStoreMockRecorder) CreateComment(arg0, arg1 interface{}) *gomock.Call
CreateComment indicates an expected call of CreateComment.
func (*MockStoreMockRecorder) CreateSession ¶
func (mr *MockStoreMockRecorder) CreateSession(arg0, arg1 interface{}) *gomock.Call
CreateSession indicates an expected call of CreateSession.
func (*MockStoreMockRecorder) CreateUser ¶
func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockStoreMockRecorder) CreateUserTx ¶
func (mr *MockStoreMockRecorder) CreateUserTx(arg0, arg1 interface{}) *gomock.Call
CreateUserTx indicates an expected call of CreateUserTx.
func (*MockStoreMockRecorder) CreateVerifyEmail ¶
func (mr *MockStoreMockRecorder) CreateVerifyEmail(arg0, arg1 interface{}) *gomock.Call
CreateVerifyEmail indicates an expected call of CreateVerifyEmail.
func (*MockStoreMockRecorder) DeleteArticle ¶
func (mr *MockStoreMockRecorder) DeleteArticle(arg0, arg1 interface{}) *gomock.Call
DeleteArticle indicates an expected call of DeleteArticle.
func (*MockStoreMockRecorder) DeleteArticleTx ¶
func (mr *MockStoreMockRecorder) DeleteArticleTx(arg0, arg1 interface{}) *gomock.Call
DeleteArticleTx indicates an expected call of DeleteArticleTx.
func (*MockStoreMockRecorder) DeleteCategory ¶
func (mr *MockStoreMockRecorder) DeleteCategory(arg0, arg1 interface{}) *gomock.Call
DeleteCategory indicates an expected call of DeleteCategory.
func (*MockStoreMockRecorder) DeleteCategoryTx ¶
func (mr *MockStoreMockRecorder) DeleteCategoryTx(arg0, arg1 interface{}) *gomock.Call
DeleteCategoryTx indicates an expected call of DeleteCategoryTx.
func (*MockStoreMockRecorder) DeleteChildComments ¶
func (mr *MockStoreMockRecorder) DeleteChildComments(arg0, arg1 interface{}) *gomock.Call
DeleteChildComments indicates an expected call of DeleteChildComments.
func (*MockStoreMockRecorder) DeleteComment ¶
func (mr *MockStoreMockRecorder) DeleteComment(arg0, arg1 interface{}) *gomock.Call
DeleteComment indicates an expected call of DeleteComment.
func (*MockStoreMockRecorder) DeleteCommentsByArticleID ¶
func (mr *MockStoreMockRecorder) DeleteCommentsByArticleID(arg0, arg1 interface{}) *gomock.Call
DeleteCommentsByArticleID indicates an expected call of DeleteCommentsByArticleID.
func (*MockStoreMockRecorder) GetAdmin ¶
func (mr *MockStoreMockRecorder) GetAdmin(arg0, arg1 interface{}) *gomock.Call
GetAdmin indicates an expected call of GetAdmin.
func (*MockStoreMockRecorder) GetAdminById ¶
func (mr *MockStoreMockRecorder) GetAdminById(arg0, arg1 interface{}) *gomock.Call
GetAdminById indicates an expected call of GetAdminById.
func (*MockStoreMockRecorder) GetArticle ¶
func (mr *MockStoreMockRecorder) GetArticle(arg0, arg1 interface{}) *gomock.Call
GetArticle indicates an expected call of GetArticle.
func (*MockStoreMockRecorder) GetArticleBySlug ¶ added in v1.3.0
func (mr *MockStoreMockRecorder) GetArticleBySlug(arg0, arg1 interface{}) *gomock.Call
GetArticleBySlug indicates an expected call of GetArticleBySlug.
func (*MockStoreMockRecorder) GetArticleForUpdate ¶
func (mr *MockStoreMockRecorder) GetArticleForUpdate(arg0, arg1 interface{}) *gomock.Call
GetArticleForUpdate indicates an expected call of GetArticleForUpdate.
func (*MockStoreMockRecorder) GetCategory ¶
func (mr *MockStoreMockRecorder) GetCategory(arg0, arg1 interface{}) *gomock.Call
GetCategory indicates an expected call of GetCategory.
func (*MockStoreMockRecorder) GetCategoryByName ¶
func (mr *MockStoreMockRecorder) GetCategoryByName(arg0, arg1 interface{}) *gomock.Call
GetCategoryByName indicates an expected call of GetCategoryByName.
func (*MockStoreMockRecorder) GetComment ¶
func (mr *MockStoreMockRecorder) GetComment(arg0, arg1 interface{}) *gomock.Call
GetComment indicates an expected call of GetComment.
func (*MockStoreMockRecorder) GetSession ¶
func (mr *MockStoreMockRecorder) GetSession(arg0, arg1 interface{}) *gomock.Call
GetSession indicates an expected call of GetSession.
func (*MockStoreMockRecorder) GetUser ¶
func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockStoreMockRecorder) GetUserByUsername ¶
func (mr *MockStoreMockRecorder) GetUserByUsername(arg0, arg1 interface{}) *gomock.Call
GetUserByUsername indicates an expected call of GetUserByUsername.
func (*MockStoreMockRecorder) IncrementArticleLikes ¶
func (mr *MockStoreMockRecorder) IncrementArticleLikes(arg0, arg1 interface{}) *gomock.Call
IncrementArticleLikes indicates an expected call of IncrementArticleLikes.
func (*MockStoreMockRecorder) IncrementArticleViews ¶
func (mr *MockStoreMockRecorder) IncrementArticleViews(arg0, arg1 interface{}) *gomock.Call
IncrementArticleViews indicates an expected call of IncrementArticleViews.
func (*MockStoreMockRecorder) ListAllArticles ¶
func (mr *MockStoreMockRecorder) ListAllArticles(arg0, arg1 interface{}) *gomock.Call
ListAllArticles indicates an expected call of ListAllArticles.
func (*MockStoreMockRecorder) ListAllCategories ¶
func (mr *MockStoreMockRecorder) ListAllCategories(arg0 interface{}) *gomock.Call
ListAllCategories indicates an expected call of ListAllCategories.
func (*MockStoreMockRecorder) ListArticles ¶
func (mr *MockStoreMockRecorder) ListArticles(arg0, arg1 interface{}) *gomock.Call
ListArticles indicates an expected call of ListArticles.
func (*MockStoreMockRecorder) ListArticlesByCategoryID ¶
func (mr *MockStoreMockRecorder) ListArticlesByCategoryID(arg0, arg1 interface{}) *gomock.Call
ListArticlesByCategoryID indicates an expected call of ListArticlesByCategoryID.
func (*MockStoreMockRecorder) ListCategoriesCountArticles ¶
func (mr *MockStoreMockRecorder) ListCategoriesCountArticles(arg0 interface{}) *gomock.Call
ListCategoriesCountArticles indicates an expected call of ListCategoriesCountArticles.
func (*MockStoreMockRecorder) ListCommentsByArticleID ¶
func (mr *MockStoreMockRecorder) ListCommentsByArticleID(arg0, arg1 interface{}) *gomock.Call
ListCommentsByArticleID indicates an expected call of ListCommentsByArticleID.
func (*MockStoreMockRecorder) ListInitSysMenus ¶
func (mr *MockStoreMockRecorder) ListInitSysMenus(arg0, arg1 interface{}) *gomock.Call
ListInitSysMenus indicates an expected call of ListInitSysMenus.
func (*MockStoreMockRecorder) SearchArticles ¶ added in v1.2.1
func (mr *MockStoreMockRecorder) SearchArticles(arg0, arg1 interface{}) *gomock.Call
SearchArticles indicates an expected call of SearchArticles.
func (*MockStoreMockRecorder) SetArticleDefaultCategoryIdByCategoryId ¶
func (mr *MockStoreMockRecorder) SetArticleDefaultCategoryIdByCategoryId(arg0, arg1 interface{}) *gomock.Call
SetArticleDefaultCategoryIdByCategoryId indicates an expected call of SetArticleDefaultCategoryIdByCategoryId.
func (*MockStoreMockRecorder) UpdateAdmin ¶
func (mr *MockStoreMockRecorder) UpdateAdmin(arg0, arg1 interface{}) *gomock.Call
UpdateAdmin indicates an expected call of UpdateAdmin.
func (*MockStoreMockRecorder) UpdateArticle ¶
func (mr *MockStoreMockRecorder) UpdateArticle(arg0, arg1 interface{}) *gomock.Call
UpdateArticle indicates an expected call of UpdateArticle.
func (*MockStoreMockRecorder) UpdateArticleTx ¶
func (mr *MockStoreMockRecorder) UpdateArticleTx(arg0, arg1 interface{}) *gomock.Call
UpdateArticleTx indicates an expected call of UpdateArticleTx.
func (*MockStoreMockRecorder) UpdateCategory ¶
func (mr *MockStoreMockRecorder) UpdateCategory(arg0, arg1 interface{}) *gomock.Call
UpdateCategory indicates an expected call of UpdateCategory.
func (*MockStoreMockRecorder) UpdateCategoryTx ¶ added in v1.3.0
func (mr *MockStoreMockRecorder) UpdateCategoryTx(arg0, arg1 interface{}) *gomock.Call
UpdateCategoryTx indicates an expected call of UpdateCategoryTx.
func (*MockStoreMockRecorder) UpdateUser ¶
func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
func (*MockStoreMockRecorder) UpdateVerifyEmail ¶
func (mr *MockStoreMockRecorder) UpdateVerifyEmail(arg0, arg1 interface{}) *gomock.Call
UpdateVerifyEmail indicates an expected call of UpdateVerifyEmail.
func (*MockStoreMockRecorder) VerifyEmailTx ¶
func (mr *MockStoreMockRecorder) VerifyEmailTx(arg0, arg1 interface{}) *gomock.Call
VerifyEmailTx indicates an expected call of VerifyEmailTx.