usecase

package
Version: v0.0.0-...-920ada6 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserUsecase

func NewUserUsecase(Repository user.Repository) user.Usecase

NewUserUsecase will create new an UserUsecase object representation of user.Usecase interface

Types

type UserUsecase

type UserUsecase struct {
	Repository user.Repository
}

UserUsecase usecase

func (*UserUsecase) Save

func (us *UserUsecase) Save(user *model.User) error

Save will create user

Source Files

Jump to

Keyboard shortcuts

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