MCPcopy Create free account

hub / github.com/Zhequ-Chalaoshi/Pages / functions

Functions40 in github.com/Zhequ-Chalaoshi/Pages

↓ 10 callersFunctioncheckError
(err error)
controllers/default.go:10
↓ 8 callersMethodGet
detail: search detail by id
controllers/master.go:46
↓ 5 callersMethodGet
detail: search detail by id
controllers/bachelors.go:46
↓ 2 callersFunctionGetBachCommentById
(inputId int)
models/bachelors.go:238
↓ 2 callersFunctionGetBachInfoById
(inputId int)
models/bachelors.go:222
↓ 2 callersFunctionGetMasterCommentById
(inputId int)
models/master.go:215
↓ 2 callersFunctionGetMasterInfoById
(inputId int)
models/master.go:207
↓ 2 callersFunctionWriteToFile
WriteToFile 将反馈写入清单文件
models/init.go:44
↓ 2 callersFunctioncheckError
(err error)
models/init.go:82
↓ 1 callersFunctionGetBachCourseById
(inputId int)
models/bachelors.go:230
↓ 1 callersFunctioncheckFileIsExist
判断文件是否存在,存在返回true不存在返回false
models/init.go:74
MethodAddT
()
controllers/default.go:25
MethodAddTPost
()
controllers/default.go:29
MethodError401
()
controllers/default.go:50
MethodError403
()
controllers/default.go:54
MethodError404
()
controllers/default.go:58
MethodError500
()
controllers/default.go:62
MethodError503
()
controllers/default.go:66
MethodGet
()
controllers/bachelors.go:20
MethodGet
()
controllers/default.go:20
MethodGet
()
controllers/master.go:19
FunctionGetBachelorsDetailById
GetBachelorsDetailById 查找具体内容
models/bachelors.go:91
FunctionGetBachelorsListByName
GetBachelorsListByName 查找列表
models/bachelors.go:47
FunctionGetMasterDetailById
GetMasterDetailById 查找具体内容
models/master.go:82
FunctionGetMasterListByName
GetMasterListByName 按姓名查找
models/master.go:47
FunctionInsertCommentToBachelors
InsertCommentToBachelors 添加评论数据
models/bachelors.go:144
FunctionInsertCommentToMaster
GetMasterDetailById 添加评论数据
models/master.go:125
MethodPost
list: search item by name
controllers/bachelors.go:26
MethodPost
comment: insert item 处理教师新评论
controllers/bachelors.go:62
MethodPost
list: search item by name
controllers/master.go:25
MethodPost
comment: insert item 处理教师新评论
controllers/master.go:62
MethodPut
update: 评论点赞功能
controllers/bachelors.go:100
MethodPut
update: 评论点赞功能
controllers/master.go:129
FunctionTestBeego
TestBeego is a sample to run an endpoint test
tests/default_test.go:22
FunctionUpdateThumbForBachelors
UpdateThumbForBachelors 修改,点赞功能
models/bachelors.go:193
FunctionUpdateThumbForMaster
UpdateThumbForMaster 点赞功能
models/master.go:179
Functioninit
()
tests/default_test.go:15
Functioninit
()
models/init.go:14
Functioninit
()
routers/router.go:9
Functionmain
()
main.go:10