MCPcopy Create free account

hub / github.com/bruce-16/my-blog-by-go / functions

Functions55 in github.com/bruce-16/my-blog-by-go

↓ 2 callersFunctionregisterValidSW
(swUrl)
front_web/src/registerServiceWorker.js:55
↓ 2 callersMethodrender
()
front_web/src/App.js:20
↓ 1 callersFunctionGetStrLength
GetStrLength 返回输入的字符串的字数,汉字和中文标点算 1 个字数,英文和其他字符 2 个算 1 个字数,不足 1 个算 1个
controllers/uploadfile.go:160
↓ 1 callersFunctioncheckErr
(e error)
cmd/main.go:150
↓ 1 callersFunctioncheckValidServiceWorker
(swUrl)
front_web/src/registerServiceWorker.js:84
↓ 1 callersFunctionconfig
(host string)
cmd/main.go:132
↓ 1 callersFunctionexists
(path string)
cmd/main.go:156
↓ 1 callersFunctionhasSameNameFile
(fileName, dir string)
controllers/uploadfile.go:149
↓ 1 callersFunctionloadRouters
(router *gin.Engine)
routers/router.go:17
↓ 1 callersFunctionreadMdFileInfo
(filePath string)
controllers/uploadfile.go:84
↓ 1 callersFunctionremove
(fileName, url string)
cmd/main.go:117
↓ 1 callersFunctionupload
(filePath, url string)
cmd/main.go:71
FunctionButtonAppBar
(props)
front_web/src/components/AppBar.js:22
FunctionGetCategoies
GetLabels 获取所有的标签
controllers/category.go:11
FunctionGetCategories
GetLabels 获取所有的标签
models/category.go:17
FunctionGetHtmlStr
GetHtmlStr 根据params获取id,读取本地md文件,然后返回字符串
controllers/md2html.go:16
FunctionGetLabels
GetLabels 获取所有的标签
controllers/label.go:11
FunctionGetLabels
GetLabels 获取所有的标签
models/label.go:17
FunctionGetPostByCategoryId
GetPostByCategoryId category id获取post
controllers/posts.go:46
FunctionGetPostByID
GetPostByID 根据ID获取文章
models/post.go:19
FunctionGetPostByLabelId
GetPostByLabelId 根据label id获取post
controllers/posts.go:22
FunctionGetPostByTitle
GetPostByTitle 根据标题获取post
models/post.go:33
FunctionGetPosts
GetPosts 获取所有的文章
controllers/posts.go:13
FunctionGetPosts
GetPosts 获取所有的文章
models/post.go:47
FunctionGetPostsByPCId
GetPostsByPLId 根据该表里面的id
models/post_category.go:34
FunctionGetPostsByPLId
GetPostsByPLId 根据该表里面的id
models/post_label.go:34
FunctionInsertCategory
(categories string, ch chan []int64)
models/category.go:27
FunctionInsertLabel
(labels string, ch chan []int64)
models/label.go:27
FunctionInsertPost
InsertPost 将标题插入到posts表
models/post.go:58
FunctionInsertPostAndCategory
InsertPostAndCategory 将标题插入到post_category表
models/post_category.go:24
FunctionInsertPostAndLabel
InsertPostAndLabel 将标题插入到post_label表
models/post_label.go:24
FunctionLoadRouters
LoadRouters 初始化router
routers/router.go:13
FunctionPaperSheet
(props)
front_web/src/components/Post.js:24
FunctionRemoveFile
RemoveFile 根据标题删除文章及相关项
controllers/removeFile.go:16
FunctionRemovePCByPostID
RemovePCByPostID 根据postid删除对于的记录
models/post_category.go:49
FunctionRemovePLByPostID
RemoveByPostID 根据postid删除对于的记录
models/post_label.go:49
FunctionRemovePostByID
RemovePostByID 根据ID删除post
models/post.go:68
FunctionSimpleExpansionPanel
(props)
front_web/src/components/ShowPosts.js:20
FunctionUpLoadFile
UpLoadFile 上传文件的控制器
controllers/uploadfile.go:29
Functionconstructor
(props)
front_web/src/components/Label.js:24
Functionconstructor
(props)
front_web/src/components/Home.js:7
Functionconstructor
(props)
front_web/src/components/Category.js:26
Functionconstructor
(props)
front_web/src/components/Article.js:17
FunctionhandleClick
()
front_web/src/components/Post.js:28
FunctionhandleClick
()
front_web/src/components/AppBar.js:25
Functioninit
()
database/sqlite3.go:12
Functionmain
()
main.go:13
Functionmain
()
cmd/main.go:18
Functionregister
()
front_web/src/registerServiceWorker.js:21
Functionstyles
front_web/src/components/Label.js:9
Functionstyles
front_web/src/components/Post.js:9
Functionstyles
front_web/src/components/ShowPosts.js:10
Functionstyles
front_web/src/components/Category.js:11
Functionstyles
front_web/src/components/Article.js:8
Functionunregister
()
front_web/src/registerServiceWorker.js:111