Documentation
¶
Overview ¶
Package mock_import is a generated GoMock package.
Index ¶
- type MockPostAPI
- func (m *MockPostAPI) DM(arg0, arg1 string, arg2 *model.Post) error
- func (m *MockPostAPI) DeletePost(arg0 string) error
- func (m *MockPostAPI) EXPECT() *MockPostAPIMockRecorder
- func (m *MockPostAPI) GetPost(arg0 string) (*model.Post, error)
- func (m *MockPostAPI) SendEphemeralPost(arg0 string, arg1 *model.Post)
- func (m *MockPostAPI) UpdatePost(arg0 *model.Post) error
- type MockPostAPIMockRecorder
- func (mr *MockPostAPIMockRecorder) DM(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPostAPIMockRecorder) DeletePost(arg0 interface{}) *gomock.Call
- func (mr *MockPostAPIMockRecorder) GetPost(arg0 interface{}) *gomock.Call
- func (mr *MockPostAPIMockRecorder) SendEphemeralPost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPostAPIMockRecorder) UpdatePost(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPostAPI ¶
type MockPostAPI struct {
// contains filtered or unexported fields
}
MockPostAPI is a mock of PostAPI interface.
func NewMockPostAPI ¶
func NewMockPostAPI(ctrl *gomock.Controller) *MockPostAPI
NewMockPostAPI creates a new mock instance.
func (*MockPostAPI) DM ¶
func (m *MockPostAPI) DM(arg0, arg1 string, arg2 *model.Post) error
DM mocks base method.
func (*MockPostAPI) DeletePost ¶
func (m *MockPostAPI) DeletePost(arg0 string) error
DeletePost mocks base method.
func (*MockPostAPI) EXPECT ¶
func (m *MockPostAPI) EXPECT() *MockPostAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPostAPI) GetPost ¶
func (m *MockPostAPI) GetPost(arg0 string) (*model.Post, error)
GetPost mocks base method.
func (*MockPostAPI) SendEphemeralPost ¶
func (m *MockPostAPI) SendEphemeralPost(arg0 string, arg1 *model.Post)
SendEphemeralPost mocks base method.
func (*MockPostAPI) UpdatePost ¶
func (m *MockPostAPI) UpdatePost(arg0 *model.Post) error
UpdatePost mocks base method.
type MockPostAPIMockRecorder ¶
type MockPostAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPostAPIMockRecorder is the mock recorder for MockPostAPI.
func (*MockPostAPIMockRecorder) DM ¶
func (mr *MockPostAPIMockRecorder) DM(arg0, arg1, arg2 interface{}) *gomock.Call
DM indicates an expected call of DM.
func (*MockPostAPIMockRecorder) DeletePost ¶
func (mr *MockPostAPIMockRecorder) DeletePost(arg0 interface{}) *gomock.Call
DeletePost indicates an expected call of DeletePost.
func (*MockPostAPIMockRecorder) GetPost ¶
func (mr *MockPostAPIMockRecorder) GetPost(arg0 interface{}) *gomock.Call
GetPost indicates an expected call of GetPost.
func (*MockPostAPIMockRecorder) SendEphemeralPost ¶
func (mr *MockPostAPIMockRecorder) SendEphemeralPost(arg0, arg1 interface{}) *gomock.Call
SendEphemeralPost indicates an expected call of SendEphemeralPost.
func (*MockPostAPIMockRecorder) UpdatePost ¶
func (mr *MockPostAPIMockRecorder) UpdatePost(arg0 interface{}) *gomock.Call
UpdatePost indicates an expected call of UpdatePost.