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 NewAdminUsecase

func NewAdminUsecase(Repository admin.Repository) admin.Usecase

NewAdminUsecase will create new an AdminUsecase object representation of admin.Usecase interface

Types

type AdminUsecase

type AdminUsecase struct {
	Repository admin.Repository
}

AdminUsecase usecase

func (*AdminUsecase) SaveUser

func (us *AdminUsecase) SaveUser(user *model.User) error

SaveUser will save user

Source Files

Jump to

Keyboard shortcuts

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