Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zhequ-Chalaoshi/Pages
/ functions
Functions
40 in github.com/Zhequ-Chalaoshi/Pages
⨍
Functions
40
◇
Types & classes
13
↓ 10 callers
Function
checkError
(err error)
controllers/default.go:10
↓ 8 callers
Method
Get
detail: search detail by id
controllers/master.go:46
↓ 5 callers
Method
Get
detail: search detail by id
controllers/bachelors.go:46
↓ 2 callers
Function
GetBachCommentById
(inputId int)
models/bachelors.go:238
↓ 2 callers
Function
GetBachInfoById
(inputId int)
models/bachelors.go:222
↓ 2 callers
Function
GetMasterCommentById
(inputId int)
models/master.go:215
↓ 2 callers
Function
GetMasterInfoById
(inputId int)
models/master.go:207
↓ 2 callers
Function
WriteToFile
WriteToFile 将反馈写入清单文件
models/init.go:44
↓ 2 callers
Function
checkError
(err error)
models/init.go:82
↓ 1 callers
Function
GetBachCourseById
(inputId int)
models/bachelors.go:230
↓ 1 callers
Function
checkFileIsExist
判断文件是否存在,存在返回true不存在返回false
models/init.go:74
Method
AddT
()
controllers/default.go:25
Method
AddTPost
()
controllers/default.go:29
Method
Error401
()
controllers/default.go:50
Method
Error403
()
controllers/default.go:54
Method
Error404
()
controllers/default.go:58
Method
Error500
()
controllers/default.go:62
Method
Error503
()
controllers/default.go:66
Method
Get
()
controllers/bachelors.go:20
Method
Get
()
controllers/default.go:20
Method
Get
()
controllers/master.go:19
Function
GetBachelorsDetailById
GetBachelorsDetailById 查找具体内容
models/bachelors.go:91
Function
GetBachelorsListByName
GetBachelorsListByName 查找列表
models/bachelors.go:47
Function
GetMasterDetailById
GetMasterDetailById 查找具体内容
models/master.go:82
Function
GetMasterListByName
GetMasterListByName 按姓名查找
models/master.go:47
Function
InsertCommentToBachelors
InsertCommentToBachelors 添加评论数据
models/bachelors.go:144
Function
InsertCommentToMaster
GetMasterDetailById 添加评论数据
models/master.go:125
Method
Post
list: search item by name
controllers/bachelors.go:26
Method
Post
comment: insert item 处理教师新评论
controllers/bachelors.go:62
Method
Post
list: search item by name
controllers/master.go:25
Method
Post
comment: insert item 处理教师新评论
controllers/master.go:62
Method
Put
update: 评论点赞功能
controllers/bachelors.go:100
Method
Put
update: 评论点赞功能
controllers/master.go:129
Function
TestBeego
TestBeego is a sample to run an endpoint test
tests/default_test.go:22
Function
UpdateThumbForBachelors
UpdateThumbForBachelors 修改,点赞功能
models/bachelors.go:193
Function
UpdateThumbForMaster
UpdateThumbForMaster 点赞功能
models/master.go:179
Function
init
()
tests/default_test.go:15
Function
init
()
models/init.go:14
Function
init
()
routers/router.go:9
Function
main
()
main.go:10