mongo

package
v0.0.0-...-77a91a8 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoOperation

type MongoOperation struct {
	Database   string
	Collection string
	Value      interface{}
}

type Repository

type Repository interface {
	Insert(operation MongoOperation) error
	Ping() error
	GetAll(operation MongoOperation, data interface{}) error
}

func Repo

func Repo() Repository

Jump to

Keyboard shortcuts

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