demo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	CreateDepartment(data *Department) (DepartmentModelInterface, error)
	CreateUser(data *User) (UserModelInterface, error)
	GetDepartmentList() ([]DepartmentModelInterface, error)
	GetDepartment(data *Department) (DepartmentModelInterface, error)
	GetUserList() ([]UserModelInterface, error)
	GetUser(data *User) (UserModelInterface, error)
	ModifyDepartment(data *Department) (DepartmentModelInterface, error)
	ModifyUser(data *User) (UserModelInterface, error)
	DeleteDepartment(data *Department) error
	DeleteUser(data *User) error
}

type Service

type Service interface {
	CreateDepartment(data *Department) (DepartmentModelInterface, error)
	CreateUser(data *User) (UserModelInterface, error)
	GetDepartmentList() ([]DepartmentModelInterface, error)
	GetDepartment(data *Department) (DepartmentModelInterface, error)
	GetUserList() ([]UserModelInterface, error)
	GetUser(data *User) (UserModelInterface, error)
	ModifyDepartment(data *Department) (DepartmentModelInterface, error)
	ModifyUser(data *User) (UserModelInterface, error)
	DeleteDepartment(data *Department) error
	DeleteUser(data *User) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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