Documentation ¶
Index ¶
- type MongoT
- func (m MongoT) Count(t *testing.T, cName string) int
- func (m MongoT) DropDatabase(t *testing.T)
- func (m MongoT) FindOne(cName string, query interface{}, v interface{}) error
- func (m MongoT) FindOneT(t *testing.T, cName string, query interface{}, v interface{})
- func (m MongoT) GetSession() *mgo.Session
- func (m MongoT) GetUrl() string
- func (m MongoT) Insert(t *testing.T, cName string, v interface{})
- func (m *MongoT) Start()
- func (m *MongoT) Teardown()
- func (m MongoT) UpsertId(t *testing.T, cName string, id, v interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.