persistence

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserMongoRepository

func NewUserMongoRepository(mdb *database.MongoDB, collectionName string, hashing model.Hashing) model.Repository

Types

type UserCollection

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

func (UserCollection) Delete

func (db UserCollection) Delete(id *valueObject.Id)

func (UserCollection) Save

func (db UserCollection) Save(user *aggregate.User)

func (UserCollection) Search

func (UserCollection) Update

func (db UserCollection) Update(user *aggregate.User)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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