Repository navigation
chore: apply gofmt and fix go vet copylocks warnings - #214
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Return pointers from NewPager and newFindingAid, use pointer receivers on Fragment.IndexMessage/AddTo, clone facets with proto.Clone, and iterate indexing batches by index. Drop json tags on unexported fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #214 +/- ##
==========================================
- Coverage 36.01% 36.00% -0.01%
==========================================
Files 412 412
Lines 38115 38115
==========================================
- Hits 13726 13725 -1
- Misses 24387 24388 +1
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two commits:
gofmt -wacross 63 files. Whitespace, doc-comment headings and one//go:buildline only. It also drops the no-op json tags on unexported fields inikuzoctl/cmd/config/elasticsearch.go.NewPagerandnewFindingAid/DaoConfig.FindingAidnow return pointers.Fragment.IndexMessage/AddTouse pointer receivers, andres.Eachnow decodes into*Fragment.proto.Clone.config.enableSearch.Not touched: the "repeats json tag" warnings in
hub3/ead/parser_structs.go,hub3/ead/mets.goandikuzo/rdf/schema/recdef.encoding/jsoncurrently drops both fields of each duplicate, so fixing them would change JSON output.🤖 Generated with Claude Code