Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ProbiusOfficial/helloCTF-CTFerlink
/ functions
Functions
15 in github.com/ProbiusOfficial/helloCTF-CTFerlink
⨍
Functions
15
◇
Types & classes
5
↓ 2 callers
Function
Write
(context []byte, path string)
write.go:7
↓ 2 callers
Function
truncateText
根据中文字符数截取文本
post.go:97
↓ 1 callers
Function
ConvertToSnakeCase
ConvertToSnakeCase converts a string to snake case InputPath -> INPUT_PATH
config.go:75
↓ 1 callers
Method
FetchFeed
()
fetch.go:8
↓ 1 callers
Function
GetPosts
(friends FriendsData)
post.go:11
↓ 1 callers
Function
Read
(inputPath string)
read.go:10
↓ 1 callers
Function
RenderJson
(friends []*Friend, posts []Post)
render.go:41
↓ 1 callers
Function
RenderMarkdown
RenderMarkdown 将朋友信息和最近的文章渲染成Markdown格式
render.go:17
↓ 1 callers
Function
filterPosts
(content string)
post.go:58
↓ 1 callers
Function
getEnv
(key, defaultValue string)
config.go:43
↓ 1 callers
Function
getShortContent
getShortContent 根据中文字符数截取文本,并去除收尾空白字符
post.go:67
↓ 1 callers
Function
loadConfigFromEnv
()
config.go:28
↓ 1 callers
Function
setFieldValue
(field reflect.Value, value string)
config.go:52
Function
init
Get configs from ENV, you set them in GitHub Actions Workflow
config.go:24
Function
main
()
main.go:33