entgo

package
v0.0.0-...-237b7f0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntgoRepository

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

func NewEntgoRepository

func NewEntgoRepository(
	client *ent.Client,
	logger *logger.Logger,
) *EntgoRepository

func (*EntgoRepository) CreateUser

func (r *EntgoRepository) CreateUser(u *domain.User) (*domain.User, error)

func (*EntgoRepository) GetUserByUsername

func (r *EntgoRepository) GetUserByUsername(username string) (*domain.User, error)

func (*EntgoRepository) GetUserCount

func (r *EntgoRepository) GetUserCount() (int, error)

Directories

Path Synopsis
ent

Jump to

Keyboard shortcuts

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