cli/pkg/search
copilot-swe-agent[bot] dca59d52b6 Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface
- canonicalheader: fix cacheTTL header value to canonical form
- embeddedstructfieldcheck: move embedded fields before regular fields in 4 structs
- iotamixing: split const blocks mixing iota with non-iota constants
- makezero: use make([]T, 0, n) instead of make([]T, n) before appending
- testableexamples: add missing Output: comment to ExampleOption_UnwrapOrZero
- wastedassign: remove wasted initial assignments in 4 locations
- usetesting: replace os.MkdirTemp/os.Setenv with t.TempDir/t.Setenv in tests
- tparallel: add t.Parallel() to 8 top-level test functions
- unconvert: remove 16 unnecessary type conversions
- intrange: convert 3 for loops to use integer range syntax
- iface: consolidate identical EditPrompter and Prompt interfaces via type alias

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 11:05:52 +00:00
..
query.go Fix linting issues: canonicalheader, embeddedstructfieldcheck, iotamixing, makezero, testableexamples, wastedassign, usetesting, tparallel, unconvert, intrange, iface 2026-03-24 11:05:52 +00:00
query_test.go refactor(pkg/search): rename KeywordsVerbatim to ImmutableKeywords 2025-11-20 16:53:16 +00:00
result.go Add comments for Total 2025-04-16 20:46:29 +02:00
result_test.go 💅 json export 2023-06-09 17:36:19 +02:00
searcher.go Add missing TODO comments for featuredetection if-statements 2026-02-16 14:24:32 -07:00
searcher_mock.go implement code search 2023-04-26 18:38:35 -06:00
searcher_test.go test(pkg/search): assert verbatim keywords are respected 2025-11-20 13:08:27 +00:00