Documentation ¶
Index ¶
- Variables
- 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 PostDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PostDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PostDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PostEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PostSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PostTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PutDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PutDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PutDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PutEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PutSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
- func PutTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
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 PostDepartment ¶
func PostDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PostDeptEmp ¶
func PostDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PostDeptManager ¶
func PostDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PostEmployee ¶
func PostEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PostSalary ¶
func PostSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PostTitle ¶
func PostTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PutDepartment ¶
func PutDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PutDeptEmp ¶
func PutDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PutDeptManager ¶
func PutDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PutEmployee ¶
func PutEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PutSalary ¶
func PutSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
func PutTitle ¶
func PutTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.