package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Oct 18, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func NewMongoRepository(info *mgo.DialInfo, db, collection string, sch *Schema, ...) (Repository, error)
-
func NewMongoRepositoryWithUrl(url, db, collection string, sch *Schema, ...) (Repository, error)
func NewMongoRepository(
info *mgo.DialInfo,
db, collection string,
sch *Schema,
constructor func(Complex) DataProvider,
) (Repository, error)
func NewMongoRepositoryWithUrl(url, db, collection string, sch *Schema, constructor func(Complex) DataProvider) (Repository, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.