userservice

package
v0.0.0-...-cbb84de Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService interface {
	CreateUser(newUser *models.NewUser) (*models.User, error)
	GetUser(id int) (*models.User, error)
	SearchUser(name string) ([]*models.User, error)
	DeleteUser(id int) (*models.User, error)
}

func NewTodoService

func NewTodoService(
	repo userRepo.Repo) UserService

Jump to

Keyboard shortcuts

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