user

package
v0.0.0-...-ce714fd Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Create(ctx context.Context, email, password, name string, role user.Role) (*ent.User, error)
	Get(ctx context.Context, id uuid.UUID) (*ent.User, error)
	GetAll(ctx context.Context) ([]*ent.User, error)
}

Service is user service definition

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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