MCPcopy Create free account

hub / github.com/avelino/awesome-go / functions

Functions43 in github.com/avelino/awesome-go

↓ 14 callersFunctionrequireNoErr
(t *testing.T, err error, msg string)
main_test.go:21
↓ 4 callersFunctionGenerate
Generate slugs similar to GitHub's slugs on markdown parsing
pkg/slug/generator.go:10
↓ 4 callersFunctiongoqueryFromReadme
(t *testing.T)
main_test.go:34
↓ 4 callersFunctionmkdirAll
(path string)
main.go:185
↓ 3 callersFunctionToHTML
ToHTML converts markdown byte slice to a HTML byte slice
pkg/markdown/convert.go:16
↓ 2 callersFunctioncacheFilePath
(p *Project)
main.go:563
↓ 2 callersFunctionrenderIndex
renderIndex generate site html (index.html) from markdown file
main.go:407
↓ 1 callersFunctionbuildProjects
buildProjects creates Project structs from category links and sets internal link slugs
main.go:464
↓ 1 callersFunctionbuildStaticSite
()
main.go:116
↓ 1 callersFunctioncheckAlphabeticOrder
(t *testing.T, s *goquery.Selection)
main_test.go:120
↓ 1 callersFunctioncheckRepoAvailability
(toRun bool, href string, client *http.Client)
stale_repositories_test.go:150
↓ 1 callersFunctioncheckRepoCommitActivity
(toRun bool, href string, client *http.Client)
stale_repositories_test.go:210
↓ 1 callersFunctioncheckRepositoryMaturity
(user, repo string)
maturity_test.go:45
↓ 1 callersFunctioncreateIssue
(t *testing.T, staleRepos []string, client *http.Client)
stale_repositories_test.go:96
↓ 1 callersFunctiondropCreateDir
dropCreateDir drop and create output directory
main.go:173
↓ 1 callersFunctionextractCategories
(doc *goquery.Document)
main.go:263
↓ 1 callersFunctionextractCategory
(doc *goquery.Document, selector string)
main.go:310
↓ 1 callersFunctionfetchGitHubMeta
(client *http.Client, owner, repo, token string)
main.go:603
↓ 1 callersFunctionfetchGitLabMeta
(client *http.Client, projectURL string)
main.go:671
↓ 1 callersFunctionfetchProjectMeta
fetchProjectMeta fetches metadata from GitHub/GitLab APIs with file-per-repo caching
main.go:522
↓ 1 callersFunctiongenerateIssueBody
(t *testing.T, repositories []string)
stale_repositories_test.go:86
↓ 1 callersFunctiongetAllFlaggedRepositories
(t *testing.T, client *http.Client)
stale_repositories_test.go:121
↓ 1 callersFunctiongetRepositoriesFromBody
(body string)
stale_repositories_test.go:68
↓ 1 callersFunctionparseRepoURL
parseRepoURL extracts host, owner, and repo from a GitHub or GitLab URL
main.go:439
↓ 1 callersFunctionreadCachedMeta
(p *Project)
main.go:567
↓ 1 callersFunctionrenderCategories
(categories map[string]Category)
main.go:205
↓ 1 callersFunctionrenderProjects
(projects []*Project)
main.go:739
↓ 1 callersFunctionrenderSitemap
(categories map[string]Category, projects []*Project)
main.go:243
↓ 1 callersFunctionrewriteLinksInIndex
(doc *goquery.Document, categories map[string]Category)
main.go:358
↓ 1 callersFunctiontestList
(t *testing.T, list *goquery.Selection)
main_test.go:110
↓ 1 callersFunctionwriteCachedMeta
(p *Project, meta *RepoMeta)
main.go:589
MethodGenerate
Generate an ID
pkg/markdown/convert.go:46
MethodPut
Put an ID to the list of already used IDs
pkg/markdown/convert.go:51
FunctionTestAlpha
(t *testing.T)
main_test.go:50
FunctionTestDuplicatedLinks
(t *testing.T)
main_test.go:63
FunctionTestGenerate
(t *testing.T)
pkg/slug/generator_test.go:5
FunctionTestMaturity
(t *testing.T)
maturity_test.go:20
FunctionTestRenderIndex
(t *testing.T)
main_test.go:103
FunctionTestSeparator
Test if an entry has description, it must be separated from link with ` - `
main_test.go:81
FunctionTestStaleRepository
(t *testing.T)
stale_repositories_test.go:257
FunctionTestToHTML
(t *testing.T)
pkg/markdown/convert_test.go:8
MethodToken
()
stale_repositories_test.go:62
Functionmain
()
main.go:110