usersrepo

package
v0.0.0-...-c008654 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 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 Repo

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

func New

func New(logger *zerolog.Logger, db *sqlx.DB) (*Repo, error)

func (*Repo) InsertOne

func (r *Repo) InsertOne(ctx context.Context, model domain.UserRepoModel) (user domain.UserRepoModel, err error)

func (*Repo) SelectByEmail

func (r *Repo) SelectByEmail(ctx context.Context, email string) (user domain.UserRepoModel, err error)

Jump to

Keyboard shortcuts

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