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
}
Click to show internal directories.
Click to hide internal directories.