Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
func Open(session *mongodb.Database, name string) (repository.Repository, error)
Types ¶
type Collection ¶
type Collection struct {
*mongo.Collection
}
func (*Collection) Search ¶
func (c *Collection) Search(criteria *repository.Criteria) (*user.User, error)
Click to show internal directories.
Click to hide internal directories.