user

package
v0.0.0-...-dbbb3a2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoUserError

type NoUserError struct {
	ID string
}

func (*NoUserError) Error

func (e *NoUserError) Error() string

type UserUseCase

type UserUseCase struct {
	UserDataService data_service.UserDataServiceInterface
}

func (*UserUseCase) Create

func (uc *UserUseCase) Create(data map[string]string) *model.User

func (*UserUseCase) Delete

func (uc *UserUseCase) Delete(id string) *model.User

func (*UserUseCase) Get

func (uc *UserUseCase) Get(id string) *model.User

func (*UserUseCase) List

func (uc *UserUseCase) List() []*model.User

func (*UserUseCase) Update

func (uc *UserUseCase) Update(id string, data map[string]string) *model.User

Jump to

Keyboard shortcuts

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