repos

package
v0.0.0-...-55d825f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepository

type UserRepository interface {
	CreateUser(user models.User) (string, error)
	GetUserByEmail(email string) (models.User, error)
}

func NewUserRepository

func NewUserRepository(db *mongo.Client) UserRepository

Creates a UserRepository instance for database operations on users

Jump to

Keyboard shortcuts

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