Documentation ¶
Index ¶
- Variables
- func AddDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func AddDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func AddDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func AddEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func AddSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func AddTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func ConfigRouter() http.Handler
- func DeleteDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func DeleteTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllDepartments(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllDeptEmps(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllDeptManagers(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllEmployees(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllSalaries(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetAllTitles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func GetTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UpdateDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UpdateDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UpdateDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UpdateEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UpdateSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func UpdateTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func AddDepartment ¶
func AddDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func AddDeptEmp ¶
func AddDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func AddDeptManager ¶
func AddDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func AddEmployee ¶
func AddEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func AddSalary ¶
func AddSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func AddTitle ¶
func AddTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func ConfigRouter ¶
func DeleteDepartment ¶
func DeleteDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteDeptEmp ¶
func DeleteDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteDeptManager ¶
func DeleteDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteEmployee ¶
func DeleteEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteSalary ¶
func DeleteSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func DeleteTitle ¶
func DeleteTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetAllDepartments ¶
func GetAllDepartments(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetAllDeptEmps ¶
func GetAllDeptEmps(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetAllDeptManagers ¶
func GetAllDeptManagers(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetAllEmployees ¶
func GetAllEmployees(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetAllSalaries ¶
func GetAllSalaries(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetAllTitles ¶
func GetAllTitles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetDepartment ¶
func GetDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetDeptEmp ¶
func GetDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetDeptManager ¶
func GetDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetEmployee ¶
func GetEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetSalary ¶
func GetSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func GetTitle ¶
func GetTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UpdateDepartment ¶
func UpdateDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UpdateDeptEmp ¶
func UpdateDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UpdateDeptManager ¶
func UpdateDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UpdateEmployee ¶
func UpdateEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UpdateSalary ¶
func UpdateSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func UpdateTitle ¶
func UpdateTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.