postgres

package
v0.0.0-...-82892ca Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserRepo

func NewUserRepo(pool *pgxpool.Pool) ports.UserRepository

Types

type UserRepo

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

func (*UserRepo) GetByEmail

func (r *UserRepo) GetByEmail(ctx context.Context, email string) (*domain.User, error)

func (*UserRepo) GetByID

func (r *UserRepo) GetByID(ctx context.Context, id string) (*domain.User, error)

func (*UserRepo) Save

func (r *UserRepo) Save(ctx context.Context, user *domain.User) error

Jump to

Keyboard shortcuts

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