dao

package
v0.0.0-...-412dc8c Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDaoImpl

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

func NewUserDao

func NewUserDao(db *gorm.DB, logger types.UserDaoLogger) *UserDaoImpl

func (UserDaoImpl) Exists

func (u UserDaoImpl) Exists(id uint) (bool, error)

func (UserDaoImpl) Get

func (u UserDaoImpl) Get(id uint) (*models.User, error)

func (UserDaoImpl) WithEmail

func (u UserDaoImpl) WithEmail(email string) (*models.User, error)

Jump to

Keyboard shortcuts

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