Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

#234 - fix: add logic to handle nil pointer structs#306

Merged
caarlos0 merged 1 commit intocaarlos0:mainfromNithinGudla:ISSUE-234-nilptr
Apr 30, 2024

Conversation

NithinGudla
Copy link
Contributor

This commit fixes the nil pointer structs.
If a struct pointer field isnil, it will be initialised first & then used for further processing.

@codecovCodecov
Copy link

codecovbot commentedApr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base(3c53a9e) to head(8207696).

Additional details and impacted files
@@            Coverage Diff            @@##              main      #306   +/-   ##=========================================  Coverage   100.00%   100.00%           =========================================  Files            3         3             Lines          420       427    +7     =========================================+ Hits           420       427    +7

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

@caarlos0caarlos0 merged commit0f77fef intocaarlos0:mainApr 30, 2024
15 checks passed
@caarlos0
Copy link
Owner

amazing, thank you!

caarlos0 added a commit that referenced this pull requestJun 19, 2024
as it would automatically initialize nil pointers.this retracts that version, and gate this new feature behind an `init`tag option.closes#317refs#306
caarlos0 added a commit that referenced this pull requestJun 19, 2024
* fix: retract v11.0.1, gate init nil pointersas it would automatically initialize nil pointers.this retracts that version, and gate this new feature behind an `init`tag option.closes#317refs#306* test: make sure#310 is covered toocloses#310* test: add test for multiple tag optionsSigned-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>* fix: typo* perf: cheap firstSigned-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>---------Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
BorzdeG pushed a commit to BorzdeG/env that referenced this pull requestAug 24, 2024
BorzdeG pushed a commit to BorzdeG/env that referenced this pull requestAug 24, 2024
* fix: retract v11.0.1, gate init nil pointersas it would automatically initialize nil pointers.this retracts that version, and gate this new feature behind an `init`tag option.closescaarlos0#317refscaarlos0#306* test: make surecaarlos0#310 is covered tooclosescaarlos0#310* test: add test for multiple tag optionsSigned-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>* fix: typo* perf: cheap firstSigned-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>---------Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@NithinGudla@caarlos0

[8]ページ先頭

©2009-2025 Movatter.jp