Versions in this module Expand all Collapse all v1 v1.0.1 Jun 16, 2021 v1.0.0 Jun 11, 2021 Changes in this version + type MgoCollection interface + Find func(query interface{}) *mgo.Query + FindId func(id interface{}) *mgo.Query + Insert func(docs ...interface{}) error + Pipe func(pipeline interface{}) *mgo.Pipe + Remove func(selector interface{}) error + RemoveAll func(selector interface{}) (*mgo.ChangeInfo, error) + RemoveId func(id interface{}) error + Update func(selector, update interface{}) error + UpdateId func(id, update interface{}) error + Upsert func(selector, update interface{}) (*mgo.ChangeInfo, error) + type MockMgoCollection struct + func NewMockMgoCollection(ctrl *gomock.Controller) *MockMgoCollection + func (m *MockMgoCollection) EXPECT() *MockMgoCollectionMockRecorder + func (m *MockMgoCollection) Find(query interface{}) *mgo.Query + func (m *MockMgoCollection) FindId(id interface{}) *mgo.Query + func (m *MockMgoCollection) Insert(docs ...interface{}) error + func (m *MockMgoCollection) Pipe(pipeline interface{}) *mgo.Pipe + func (m *MockMgoCollection) Remove(selector interface{}) error + func (m *MockMgoCollection) RemoveAll(selector interface{}) (*mgo.ChangeInfo, error) + func (m *MockMgoCollection) RemoveId(id interface{}) error + func (m *MockMgoCollection) Update(selector, update interface{}) error + func (m *MockMgoCollection) UpdateId(id, update interface{}) error + func (m *MockMgoCollection) Upsert(selector, update interface{}) (*mgo.ChangeInfo, error) + type MockMgoCollectionMockRecorder struct + func (mr *MockMgoCollectionMockRecorder) Find(query interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) FindId(id interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) Insert(docs ...interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) Pipe(pipeline interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) Remove(selector interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) RemoveAll(selector interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) RemoveId(id interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) Update(selector, update interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) UpdateId(id, update interface{}) *gomock.Call + func (mr *MockMgoCollectionMockRecorder) Upsert(selector, update interface{}) *gomock.Call