code: func NewMockEncoder(ctrl *gomock.Controller) *MockEncoder {
  	mock := &MockEncoder{ctrl: ctrl}
  	mock.recorder = &MockEncoderMockRecorder{mock}
  	return mock
  }
docs: // NewMockEncoder creates a new mock instance