ports

package
v0.0.0-...-cbeb5a3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 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 {
	BeginTransaction(tx *gorm.DB) repo.Repos
	CommitTransaction() (bool, error)
	RollbackTransaction() (bool, error)
	FindByPk(id uint) (*model.User, error)
	Create(user *model.User) (bool, error)
	FindAll() ([]model.User, error)
	FindActiveUser() ([]model.User, error)
	FindByUsername(username string) (*model.User, error)
}

Jump to

Keyboard shortcuts

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