user

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: 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 App

type App interface {
	DoAtomic(ctx context.Context, action func(context.Context) error) error

	GetByEmail(ctx context.Context, email string) (model.User, error)
	GetByLoginID(ctx context.Context, loginID uint64) (model.User, error)
	Create(ctx context.Context, o model.User) (uint64, error)
}

App of package

func New

func New(db *sql.DB) App

New creates new App from Config

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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