diff --git a/proto/ss/grpc_pb/mocks/service_user_grpc.pb.go b/proto/ss/grpc_pb/mocks/service_user_grpc.pb.go index 976b410..68032d8 100644 --- a/proto/ss/grpc_pb/mocks/service_user_grpc.pb.go +++ b/proto/ss/grpc_pb/mocks/service_user_grpc.pb.go @@ -6,9 +6,9 @@ package mocks import ( context "context" - grpc_pb "git.hlsq.asia/mmorpg/service-common/proto/ss/grpc_pb" reflect "reflect" + grpc_pb "git.hlsq.asia/mmorpg/service-common/proto/ss/grpc_pb" gomock "github.com/golang/mock/gomock" grpc "google.golang.org/grpc" ) @@ -36,6 +36,26 @@ func (m *MockUserClient) EXPECT() *MockUserClientMockRecorder { return m.recorder } +// GenerateQuestion mocks base method. +func (m *MockUserClient) GenerateQuestion(ctx context.Context, in *grpc_pb.GenerateQuestionReq, opts ...grpc.CallOption) (*grpc_pb.GenerateQuestionResp, error) { + m.ctrl.T.Helper() + varargs := []interface{}{ctx, in} + for _, a := range opts { + varargs = append(varargs, a) + } + ret := m.ctrl.Call(m, "GenerateQuestion", varargs...) + ret0, _ := ret[0].(*grpc_pb.GenerateQuestionResp) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GenerateQuestion indicates an expected call of GenerateQuestion. +func (mr *MockUserClientMockRecorder) GenerateQuestion(ctx, in interface{}, opts ...interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + varargs := append([]interface{}{ctx, in}, opts...) + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenerateQuestion", reflect.TypeOf((*MockUserClient)(nil).GenerateQuestion), varargs...) +} + // GetUserInfo mocks base method. func (m *MockUserClient) GetUserInfo(ctx context.Context, in *grpc_pb.GetUserInfoReq, opts ...grpc.CallOption) (*grpc_pb.GetUserInfoResp, error) { m.ctrl.T.Helper() @@ -99,6 +119,21 @@ func (m *MockUserServer) EXPECT() *MockUserServerMockRecorder { return m.recorder } +// GenerateQuestion mocks base method. +func (m *MockUserServer) GenerateQuestion(arg0 context.Context, arg1 *grpc_pb.GenerateQuestionReq) (*grpc_pb.GenerateQuestionResp, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GenerateQuestion", arg0, arg1) + ret0, _ := ret[0].(*grpc_pb.GenerateQuestionResp) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GenerateQuestion indicates an expected call of GenerateQuestion. +func (mr *MockUserServerMockRecorder) GenerateQuestion(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GenerateQuestion", reflect.TypeOf((*MockUserServer)(nil).GenerateQuestion), arg0, arg1) +} + // GetUserInfo mocks base method. func (m *MockUserServer) GetUserInfo(arg0 context.Context, arg1 *grpc_pb.GetUserInfoReq) (*grpc_pb.GetUserInfoResp, error) { m.ctrl.T.Helper()