package
Version:
v0.0.0-...-05a53eb
Opens a new window with list of versions in this module.
Published: Sep 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.