505 matches across 25 files for error lang:Go lang:Go
snippet_mode: summary · sorted by relevance
cmd/badges/main.go GO 12 matches · showing 1 view file →
5 "errors"
+ 11 more matches in this file
processor/processor.go GO 4 matches · showing 1 view file →
680 fileWalker.SetErrorHandler(func(e error) bool {
+ 3 more matches in this file
processor/detector.go GO 7 matches · showing 1 view file →
8 "errors"
+ 6 more matches in this file
mcp.go GO 8 matches · showing 1 view file →
83 if err := server.ServeStdio(mcpServer, server.WithErrorLogger(errLogger)); err != nil {
+ 7 more matches in this file
processor/file.go GO 3 matches · showing 1 view file →
68 var err error
+ 2 more matches in this file
processor/result.go GO 6 matches · showing 1 view file →
18func ProcessResult() ([]LanguageSummary, error) {
+ 5 more matches in this file
scripts/include.go GO 10 matches · showing 1 view file →
32func generateConstants() error {
+ 9 more matches in this file
main.go GO 8 matches · showing 1 view file →
6 "errors"
+ 7 more matches in this file
processor/trace.go GO 5 matches · showing 1 view file →
16 levelError
+ 4 more matches in this file
processor/workers_test.go GO 131 matches · showing 1 view file →
19 t.Errorf("Expected to be true")
+ 130 more matches in this file
processor/filereader.go GO 3 matches · showing 1 view file →
25func (reader *FileReader) ReadFile(path string, size int) ([]byte, error) {
+ 2 more matches in this file
main_test.go GO 28 matches · showing 1 view file →
31func runSCC(args ...string) (string, error) {
+ 27 more matches in this file
processor/workers.go GO 1 matches view file →
806 printWarnF("error reading: %s %s", job.Location, err)
processor/formatters_test.go GO 98 matches · showing 1 view file →
20 t.Error("expected to match got", str.String())
+ 97 more matches in this file
processor/detector_test.go GO 36 matches · showing 1 view file →
16 t.Error("Expected css got", ext)
+ 35 more matches in this file
processor/locomo_test.go GO 28 matches · showing 1 view file →
13 t.Errorf("Expected 0 for zero code lines, got %f", got)
+ 27 more matches in this file
processor/file_test.go GO 19 matches · showing 1 view file →
18 t.Errorf("Expected %s got %s", expected, got)
+ 18 more matches in this file
processor/workers_regression_test.go GO 25 matches · showing 1 view file →
38 t.Errorf("Expected 14 lines got %d", fileJob.Lines)
+ 24 more matches in this file
processor/workers_tokei_test.go GO 20 matches · showing 1 view file →
42 t.Errorf("Expected 23 lines")
+ 19 more matches in this file
processor/processor_test.go GO 13 matches · showing 1 view file →
15 t.Error("Should not be 0")
+ 12 more matches in this file
processor/trace_test.go GO 15 matches · showing 1 view file →
11 t.Errorf("traceLevel format error: got %s, want TRACE", levelTrace.String())
+ 14 more matches in this file
processor/structs_test.go GO 11 matches · showing 1 view file →
21 t.Error("Expected match")
+ 10 more matches in this file
cmd/badges/main_test.go GO 5 matches · showing 1 view file →
59 t.Errorf("resolveColor(%q) = %q, want %q", tt.color, got, tt.want)
+ 4 more matches in this file
processor/cocomo_test.go GO 3 matches · showing 1 view file →
15 t.Errorf("Got %f", got)
+ 2 more matches in this file
processor/similar_flags_test.go GO 3 matches · showing 1 view file →
109 t.Errorf("StringSimilarRatio(%q, %q) failed, got %v, want %v", tc.s1, tc.s2, result, tc.isSimilar)
+ 2 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.