user

package
v0.0.0-...-d22e7c3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

Repository of user

func New

func New(db *sqldb.DB, redis redis.Redis) *Repository

New repository of user

func (*Repository) Create

func (r *Repository) Create(ctx context.Context, user userentity.User) (string, error)

Create user

func (*Repository) Update

func (r *Repository) Update(ctx context.Context) error

Update user

Jump to

Keyboard shortcuts

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