repository

package
v0.0.0-...-e2a2a49 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 7 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 struct {
	// contains filtered or unexported fields
}

func NewUserRepository

func NewUserRepository(pgpool *pgxpool.Pool, logger logging.Logger) *UserRepository

func (*UserRepository) InsertUser

func (r *UserRepository) InsertUser(ctx context.Context, u entity.User) error

func (*UserRepository) SelectWhere

func (r *UserRepository) SelectWhere(ctx context.Context, field string, searchVal any) (entity.User, error)

Jump to

Keyboard shortcuts

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