Documentation
¶
Overview ¶
*
- @Author: yangon
- @Description
- @Date: 2020/12/23 13:52 *
*
- @Author: yangon
- @Description
- @Date: 2020/12/23 17:09 *
* * @Author: myxy99 <myxy99@foxmail.com> * @Date: 2020/11/4 11:18
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MongoImp ¶
type MongoImp interface { Connect(db, collection string) (*mgo.Session, *mgo.Collection) Insert(db, collection string, docs ...interface{}) error FindOne(db, collection string, query, selector, result interface{}) error FindAll(db, collection string, query, selector, result interface{}) error Update(db, collection string, query, update interface{}) error Remove(db, collection string, query interface{}) error }
Click to show internal directories.
Click to hide internal directories.