package
Version:
v0.0.0-...-b8c6fc2
Opens a new window with list of versions in this module.
Published: Jun 27, 2016
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
*
- 开启会话
- uri: [mongodb://][user:pass@]host1[:port1][,host2[:port2],...][/database][?options]
func NewRepository(seed MongoModal) *mongoRepository
create
type MongoModal interface {
MongoID() interface{}
SetObjectId(id bson.ObjectId)
MongoCollection() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.