60 matches across 1 files for func main lang:Go path:processor/report_test.go lang:Go lang:Go
snippet_mode: auto · sorted by relevance
processor/report_test.go GO 60 matches · showing 5 view file →
14)
15
16func writeTestFile(path, content string) error {
17 return os.WriteFile(path, []byte(content), 0o644)
18}
· · ·
22// happy path of the spec: GitAvailable=true, all four git pointers non-nil,
23// per-file table and cost results present.
24func TestCollectReportDataOnFixtureRepo(t *testing.T) {
25 ProcessConstants()
26
· · ·
27 dir := makeFixtureRepo(t, []map[string]string{
28 {"a.go": "package a\n\nfunc A() {}\n"},
29 {"a.go": "package a\n\nfunc A() {}\n\nfunc B() {}\n", "b.go": "package a\n\nfunc C() {}\n"},
30 {"a.go": "package a\n\nfunc A() {}\n\nfunc B() {}\n\nfunc D() {}\n"},
· · ·
29 {"a.go": "package a\n\nfunc A() {}\n\nfunc B() {}\n", "b.go": "package a\n\nfunc C() {}\n"},
30 {"a.go": "package a\n\nfunc A() {}\n\nfunc B() {}\n\nfunc D() {}\n"},
31 })
· · ·
30 {"a.go": "package a\n\nfunc A() {}\n\nfunc B() {}\n\nfunc D() {}\n"},
31 })
32
+ 55 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.