repository

package
v0.0.0-...-2771b56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(cfg *config.Mongo) (*database, error)

func NewRepository

func NewRepository(db Database, collection string) *repository

Types

type Database

type Database interface {
	GetAbstractDatabase() *mongo.Database
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL