mongo

package
v0.3.21 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocumentRepository

type DocumentRepository struct {
	// contains filtered or unexported fields
}

DocumentRepository is the concrete implementation of the document repository.

func NewDocumentRepository

func NewDocumentRepository(db *mongo.Database) *DocumentRepository

NewDocumentRepository creates a new instance of the `DocumentRepository`.

func (DocumentRepository) Create

Create implements the use case interface.

func (DocumentRepository) Get

Get implements the use case interface.

Jump to

Keyboard shortcuts

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