repository

package
v0.0.0-...-1011175 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: 0BSD Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module exports dependency

Functions

This section is empty.

Types

type UserRepository

type UserRepository struct {
	lib.Database
	// contains filtered or unexported fields
}

UserRepository database structure

func NewUserRepository

func NewUserRepository(db lib.Database, logger lib.Logger) UserRepository

NewUserRepository creates a new user repository

func (UserRepository) WithTrx

func (r UserRepository) WithTrx(trxHandle *gorm.DB) UserRepository

WithTrx enables repository with transaction

Jump to

Keyboard shortcuts

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