mongo

package
v0.0.0-...-c0e4307 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromCustomer

func NewFromCustomer(c customer.Customer) mongoCustomer

Types

type MongoRepository

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

func New

func New(ctx context.Context, connectionString string) (*MongoRepository, error)

func (*MongoRepository) Add

func (*MongoRepository) Get

func (*MongoRepository) Update

func (mr *MongoRepository) Update(c customer.Customer) error

Jump to

Keyboard shortcuts

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