user_repository

package
v0.0.0-...-af64e70 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 3 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 interface {
	Register(ctx context.Context, req user_entity.User) (string, error)
	Login(ctx context.Context, req user_entity.User) (user_entity.User, error)
}

func NewUserRepository

func NewUserRepository(dbPool *pgxpool.Pool) UserRepository

Jump to

Keyboard shortcuts

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