Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dbohdan/automatic-api
/ functions
Functions
8 in github.com/dbohdan/automatic-api
⨍
Functions
8
◇
Types & classes
6
↓ 1 callers
Function
buildStatsQuery
buildStatsQuery builds a GraphQL query to fetch the GitHub repository statistics for several repositories at once.
render_template.go:240
↓ 1 callers
Function
entriesToTable
entriesToTable converts a slice of entries to a representation of an HTML table.
render_template.go:145
↓ 1 callers
Function
fetchGitHubStats
fetchGitHubStats retrieves the repository statistics (the number of stars and commits) for the repositories in repos and returns them formatted as HTM
render_template.go:266
↓ 1 callers
Method
format
format converts the table to HTML using tmpl.
render_template.go:179
↓ 1 callers
Function
loadEntries
loadEntries loads entry data from TOML files that match the glob pattern.
render_template.go:122
↓ 1 callers
Function
queryGitHub
queryGitHub perform a GraphQL query against the GitHub API v4.
render_template.go:201
↓ 1 callers
Function
trimP
trimP converts "<p>foo</p>" to "foo".
render_template.go:169
Function
main
()
render_template.go:312