repos

package
v0.0.0-...-46ed65f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 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 UserRepo

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

func NewUserRepo

func NewUserRepo(db *mongo.Client) *UserRepo

func (*UserRepo) AddUser

func (r *UserRepo) AddUser(ctx context.Context, user *aggregates.User) error

func (*UserRepo) GetUser

func (r *UserRepo) GetUser(ctx context.Context, email string) (*aggregates.User, error)

Jump to

Keyboard shortcuts

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