user

package
v0.0.0-...-da52609 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PG_DUPLICATE_ERROR = "23505"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetUser(id int) (*models.User, error)
	Update(context.Context, int, *dto.UserPatchRequest) error
}

func NewUserRepository

func NewUserRepository(db *sqlx.DB) Repository

Jump to

Keyboard shortcuts

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