intelops / compage

Compage - Low-Code Framework to develop Rest API, gRPC, dRPC, GraphQL, WebAssembly, microservices, FaaS, Temporal workloads, IoT and edge services, K8s controllers, K8s CRDs, K8s custom APIs, K8s Operators, K8s hooks, etc. with minimal coding and by automatically applying best practice methods like software supply chain security measures, SBOM, openAPI, cloudevents, etc. Auto generate code after defining requirements in UI as diagram.
Apache License 2.0
83 stars 21 forks source link

feat: Generate code for selected methods for REST and GRPC in golang #174

Closed mahendraintelops closed 1 year ago

mahendraintelops commented 1 year ago
codecov[bot] commented 1 year ago

Codecov Report

Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (0e43621) 52.00% compared to head (7bfcdc6) 52.46%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #174 +/- ## ========================================== + Coverage 52.00% 52.46% +0.45% ========================================== Files 103 104 +1 Lines 7314 7410 +96 Branches 32 32 ========================================== + Hits 3804 3888 +84 - Misses 3209 3219 +10 - Partials 301 303 +2 ``` | [Flag](https://app.codecov.io/gh/intelops/compage/pull/174/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops) | Coverage Δ | | |---|---|---| | [app](https://app.codecov.io/gh/intelops/compage/pull/174/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops) | `37.71% <100.00%> (+0.01%)` | :arrow_up: | | [core](https://app.codecov.io/gh/intelops/compage/pull/174/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops) | `64.50% <79.22%> (+0.54%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops) | Coverage Δ | | |---|---|---| | [app/src/models/code.ts](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-YXBwL3NyYy9tb2RlbHMvY29kZS50cw==) | `92.25% <100.00%> (+0.05%)` | :arrow_up: | | [...languages/golang/frameworks/common-files/copier.go](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-Y29yZS9pbnRlcm5hbC9sYW5ndWFnZXMvZ29sYW5nL2ZyYW1ld29ya3MvY29tbW9uLWZpbGVzL2NvcGllci5nbw==) | `89.09% <100.00%> (+0.27%)` | :arrow_up: | | [...anguages/golang/frameworks/go-gin-server/copier.go](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-Y29yZS9pbnRlcm5hbC9sYW5ndWFnZXMvZ29sYW5nL2ZyYW1ld29ya3MvZ28tZ2luLXNlcnZlci9jb3BpZXIuZ28=) | `69.78% <100.00%> (+3.67%)` | :arrow_up: | | [core/internal/languages/golang/generator.go](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-Y29yZS9pbnRlcm5hbC9sYW5ndWFnZXMvZ29sYW5nL2dlbmVyYXRvci5nbw==) | `72.87% <100.00%> (-0.09%)` | :arrow_down: | | [core/internal/languages/golang/models.go](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-Y29yZS9pbnRlcm5hbC9sYW5ndWFnZXMvZ29sYW5nL21vZGVscy5nbw==) | `100.00% <100.00%> (ø)` | | | [...nguages/golang/frameworks/go-grpc-server/copier.go](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-Y29yZS9pbnRlcm5hbC9sYW5ndWFnZXMvZ29sYW5nL2ZyYW1ld29ya3MvZ28tZ3JwYy1zZXJ2ZXIvY29waWVyLmdv) | `59.57% <94.73%> (+0.95%)` | :arrow_up: | | [core/internal/languages/golang/frameworks/utils.go](https://app.codecov.io/gh/intelops/compage/pull/174?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=intelops#diff-Y29yZS9pbnRlcm5hbC9sYW5ndWFnZXMvZ29sYW5nL2ZyYW1ld29ya3MvdXRpbHMuZ28=) | `42.30% <42.30%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.