Skip to content

Feature/new core #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open

Feature/new core #12

wants to merge 41 commits into from

Conversation

jm9e
Copy link
Member

@jm9e jm9e commented May 8, 2025

No description provided.

Copy link

codecov bot commented May 8, 2025

Codecov Report

Attention: Patch coverage is 53.01713% with 1892 lines in your changes missing coverage. Please review.

Project coverage is 49.62%. Comparing base (1e00b46) to head (3b398b3).

Files with missing lines Patch % Lines
pkg/analyze/usage/dependency.go 0.00% 190 Missing ⚠️
pkg/analyze/callgraph/graph.go 0.00% 189 Missing ⚠️
pkg/analyze/usage/dead_code.go 0.00% 155 Missing ⚠️
pkg/analyze/callgraph/builder.go 0.00% 146 Missing ⚠️
pkg/analyze/usage/collector.go 0.00% 132 Missing ⚠️
pkg/analyze/interfaces/finder.go 57.67% 92 Missing and 32 partials ⚠️
pkg/index/cmd.go 42.52% 103 Missing and 20 partials ⚠️
pkg/index/indexer.go 70.94% 70 Missing and 16 partials ⚠️
pkg/index/example/example.go 0.00% 72 Missing ⚠️
pkg/analyze/interfaces/matcher.go 0.00% 63 Missing ⚠️
... and 22 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   54.95%   49.62%   -5.34%     
==========================================
  Files          35       66      +31     
  Lines        3723     7507    +3784     
==========================================
+ Hits         2046     3725    +1679     
- Misses       1542     3531    +1989     
- Partials      135      251     +116     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jm9e added 12 commits May 10, 2025 12:24
Introduced the `model` package to enable in-memory modeling of Go code elements like functions, structs, and interfaces with support for validation, cloning, and equality checks. Additionally, added the `generate` package to facilitate code generation from models using customizable formatting or templates.
Introduced clearer separation of added, removed, and changed fields with dedicated storage. Ensured consistent ordering of embedded struct fields, particularly for BaseEntity, with special handling for ID and CreatedAt fields. Added a helper function for field existence checks to streamline logic and maintainability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant