repositories

package
v0.0.0-...-aca1c39 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPostgresUserRepository

func NewPostgresUserRepository(log logger.ILogger, cfg *config.Config, gorm *gorm.DB) contracts.UserRepository

Types

type PostgresUserRepository

type PostgresUserRepository struct {
	// contains filtered or unexported fields
}

func (PostgresUserRepository) RegisterUser

func (p PostgresUserRepository) RegisterUser(ctx context.Context, user *models.User) (*models.User, error)

Jump to

Keyboard shortcuts

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