userRepository

package
v0.0.0-...-1561af3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 4 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 {
	CreateUser(ctx context.Context, req *entity.CreateUser) error
	GetUser(ctx context.Context, userNameEmail string) (*entity.User, error)
	UpdateUserPassword(ctx context.Context, userName, password string) error
}

func NewRepository

func NewRepository(db *gorm.DB) Repository

Jump to

Keyboard shortcuts

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