Documentation
¶
Overview ¶
Package logxmocks is a generated GoMock package.
Index ¶
- type MockLoggerx
- func (m *MockLoggerx) Debug(msg string, fields ...logx.Field)
- func (m *MockLoggerx) EXPECT() *MockLoggerxMockRecorder
- func (m *MockLoggerx) Error(msg string, fields ...logx.Field)
- func (m *MockLoggerx) Info(msg string, fields ...logx.Field)
- func (m *MockLoggerx) Warn(msg string, fields ...logx.Field)
- type MockLoggerxMockRecorder
- func (mr *MockLoggerxMockRecorder) Debug(msg any, fields ...any) *gomock.Call
- func (mr *MockLoggerxMockRecorder) Error(msg any, fields ...any) *gomock.Call
- func (mr *MockLoggerxMockRecorder) Info(msg any, fields ...any) *gomock.Call
- func (mr *MockLoggerxMockRecorder) Warn(msg any, fields ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLoggerx ¶
type MockLoggerx struct {
// contains filtered or unexported fields
}
MockLoggerx is a mock of Loggerx interface.
func NewMockLoggerx ¶
func NewMockLoggerx(ctrl *gomock.Controller) *MockLoggerx
NewMockLoggerx creates a new mock instance.
func (*MockLoggerx) Debug ¶
func (m *MockLoggerx) Debug(msg string, fields ...logx.Field)
Debug mocks base method.
func (*MockLoggerx) EXPECT ¶
func (m *MockLoggerx) EXPECT() *MockLoggerxMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoggerx) Error ¶
func (m *MockLoggerx) Error(msg string, fields ...logx.Field)
Error mocks base method.
type MockLoggerxMockRecorder ¶
type MockLoggerxMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerxMockRecorder is the mock recorder for MockLoggerx.
func (*MockLoggerxMockRecorder) Debug ¶
func (mr *MockLoggerxMockRecorder) Debug(msg any, fields ...any) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerxMockRecorder) Error ¶
func (mr *MockLoggerxMockRecorder) Error(msg any, fields ...any) *gomock.Call
Error indicates an expected call of Error.
Click to show internal directories.
Click to hide internal directories.