user

package
v0.0.0-...-d552a0f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetUserById(ctx context.Context, id util.UUIDString) (*orm.User, error)
	GetUserByEmail(ctx context.Context, email string) (*orm.User, error)
	GetUserByUsername(ctx context.Context, username string) (*orm.User, error)
	CreateUser(ctx context.Context, user model.User) (*orm.User, error)
}

func NewRepo

func NewRepo(dbConn pg.ContextExecutor) Repository

Jump to

Keyboard shortcuts

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