Skip to content
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

fix: decode struct with pointer must be nil #473

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Conversation

misyuari
Copy link
Contributor

@misyuari misyuari commented Oct 3, 2023

fix #472

@misyuari
Copy link
Contributor Author

any comment? @goccy

@goccy
Copy link
Owner

goccy commented Oct 19, 2023

Thank you for your contribution ! The changes are LGTM 👍
lint job is failing, please merge master once.

@misyuari
Copy link
Contributor Author

Thank you for your contribution ! The changes are LGTM 👍 lint job is failing, please merge master once.

done 🚀

@codecov-commenter
Copy link

Codecov Report

Merging #473 (029656a) into master (3d5ab28) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #473   +/-   ##
=======================================
  Coverage   76.78%   76.78%           
=======================================
  Files          55       55           
  Lines       18921    18922    +1     
=======================================
+ Hits        14528    14529    +1     
  Misses       3759     3759           
  Partials      634      634           

@goccy goccy merged commit df897ae into goccy:master Oct 19, 2023
14 checks passed
@goccy
Copy link
Owner

goccy commented Oct 19, 2023

Thank you !! Merged.

MrAlias pushed a commit to open-telemetry/opentelemetry-go-contrib that referenced this pull request May 21, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/goccy/go-json](https://togithub.com/goccy/go-json) |
`v0.10.2` -> `v0.10.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-json/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-json/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-json/v0.10.2/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-json/v0.10.2/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>goccy/go-json (github.com/goccy/go-json)</summary>

###
[`v0.10.3`](https://togithub.com/goccy/go-json/releases/tag/v0.10.3):
0.10.3

[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.10.2...v0.10.3)

#### What's Changed

- Add license for string processing by
[@&#8203;goccy](https://togithub.com/goccy) in
[goccy/go-json#476
- fix: decode struct with pointer must be nil by
[@&#8203;misyuari](https://togithub.com/misyuari) in
[goccy/go-json#473
- fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString by
[@&#8203;lizixing](https://togithub.com/lizixing) in
[goccy/go-json#479
- Fix custom map marshaling by
[@&#8203;viewsharp](https://togithub.com/viewsharp) in
[goccy/go-json#505
- Use io package instead of ioutil package by
[@&#8203;shamaton](https://togithub.com/shamaton) in
[goccy/go-json#498

#### New Contributors

- [@&#8203;misyuari](https://togithub.com/misyuari) made their first
contribution in
[goccy/go-json#473
- [@&#8203;lizixing](https://togithub.com/lizixing) made their first
contribution in
[goccy/go-json#479
- [@&#8203;viewsharp](https://togithub.com/viewsharp) made their first
contribution in
[goccy/go-json#505
- [@&#8203;shamaton](https://togithub.com/shamaton) made their first
contribution in
[goccy/go-json#498

**Full Changelog**:
goccy/go-json@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIlNraXAgQ2hhbmdlbG9nIiwiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
khushijain21 pushed a commit to khushijain21/opentelemetry-go-contrib that referenced this pull request May 22, 2024
…telemetry#5623)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/goccy/go-json](https://togithub.com/goccy/go-json) |
`v0.10.2` -> `v0.10.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoccy%2fgo-json/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoccy%2fgo-json/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoccy%2fgo-json/v0.10.2/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoccy%2fgo-json/v0.10.2/v0.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>goccy/go-json (github.com/goccy/go-json)</summary>

###
[`v0.10.3`](https://togithub.com/goccy/go-json/releases/tag/v0.10.3):
0.10.3

[Compare
Source](https://togithub.com/goccy/go-json/compare/v0.10.2...v0.10.3)

#### What's Changed

- Add license for string processing by
[@&#8203;goccy](https://togithub.com/goccy) in
[goccy/go-json#476
- fix: decode struct with pointer must be nil by
[@&#8203;misyuari](https://togithub.com/misyuari) in
[goccy/go-json#473
- fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString by
[@&#8203;lizixing](https://togithub.com/lizixing) in
[goccy/go-json#479
- Fix custom map marshaling by
[@&#8203;viewsharp](https://togithub.com/viewsharp) in
[goccy/go-json#505
- Use io package instead of ioutil package by
[@&#8203;shamaton](https://togithub.com/shamaton) in
[goccy/go-json#498

#### New Contributors

- [@&#8203;misyuari](https://togithub.com/misyuari) made their first
contribution in
[goccy/go-json#473
- [@&#8203;lizixing](https://togithub.com/lizixing) made their first
contribution in
[goccy/go-json#479
- [@&#8203;viewsharp](https://togithub.com/viewsharp) made their first
contribution in
[goccy/go-json#505
- [@&#8203;shamaton](https://togithub.com/shamaton) made their first
contribution in
[goccy/go-json#498

**Full Changelog**:
goccy/go-json@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIlNraXAgQ2hhbmdlbG9nIiwiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot pushed a commit to cloudquery/filetypes that referenced this pull request Jun 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/goccy/go-json](https://togithub.com/goccy/go-json) | require | patch | `v0.10.2` -> `v0.10.3` |

---

### Release Notes

<details>
<summary>goccy/go-json (github.com/goccy/go-json)</summary>

### [`v0.10.3`](https://togithub.com/goccy/go-json/releases/tag/v0.10.3): 0.10.3

[Compare Source](https://togithub.com/goccy/go-json/compare/v0.10.2...v0.10.3)

#### What's Changed

-   Add license for string processing by [@&#8203;goccy](https://togithub.com/goccy) in [goccy/go-json#476
-   fix: decode struct with pointer must be nil by [@&#8203;misyuari](https://togithub.com/misyuari) in [goccy/go-json#473
-   fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString by [@&#8203;lizixing](https://togithub.com/lizixing) in [goccy/go-json#479
-   Fix custom map marshaling by [@&#8203;viewsharp](https://togithub.com/viewsharp) in [goccy/go-json#505
-   Use io package instead of ioutil package by [@&#8203;shamaton](https://togithub.com/shamaton) in [goccy/go-json#498

#### New Contributors

-   [@&#8203;misyuari](https://togithub.com/misyuari) made their first contribution in [goccy/go-json#473
-   [@&#8203;lizixing](https://togithub.com/lizixing) made their first contribution in [goccy/go-json#479
-   [@&#8203;viewsharp](https://togithub.com/viewsharp) made their first contribution in [goccy/go-json#505
-   [@&#8203;shamaton](https://togithub.com/shamaton) made their first contribution in [goccy/go-json#498

**Full Changelog**: goccy/go-json@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
kodiakhq bot pushed a commit to cloudquery/plugin-sdk that referenced this pull request Jun 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/goccy/go-json](https://togithub.com/goccy/go-json) | require | patch | `v0.10.2` -> `v0.10.3` |

---

### Release Notes

<details>
<summary>goccy/go-json (github.com/goccy/go-json)</summary>

### [`v0.10.3`](https://togithub.com/goccy/go-json/releases/tag/v0.10.3): 0.10.3

[Compare Source](https://togithub.com/goccy/go-json/compare/v0.10.2...v0.10.3)

#### What's Changed

-   Add license for string processing by [@&#8203;goccy](https://togithub.com/goccy) in [goccy/go-json#476
-   fix: decode struct with pointer must be nil by [@&#8203;misyuari](https://togithub.com/misyuari) in [goccy/go-json#473
-   fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString by [@&#8203;lizixing](https://togithub.com/lizixing) in [goccy/go-json#479
-   Fix custom map marshaling by [@&#8203;viewsharp](https://togithub.com/viewsharp) in [goccy/go-json#505
-   Use io package instead of ioutil package by [@&#8203;shamaton](https://togithub.com/shamaton) in [goccy/go-json#498

#### New Contributors

-   [@&#8203;misyuari](https://togithub.com/misyuari) made their first contribution in [goccy/go-json#473
-   [@&#8203;lizixing](https://togithub.com/lizixing) made their first contribution in [goccy/go-json#479
-   [@&#8203;viewsharp](https://togithub.com/viewsharp) made their first contribution in [goccy/go-json#505
-   [@&#8203;shamaton](https://togithub.com/shamaton) made their first contribution in [goccy/go-json#498

**Full Changelog**: goccy/go-json@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM4My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
kodiakhq bot pushed a commit to cloudquery/cloudquery that referenced this pull request Jun 1, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/goccy/go-json](https://togithub.com/goccy/go-json) | require | patch | `v0.10.2` -> `v0.10.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>goccy/go-json (github.com/goccy/go-json)</summary>

### [`v0.10.3`](https://togithub.com/goccy/go-json/releases/tag/v0.10.3): 0.10.3

[Compare Source](https://togithub.com/goccy/go-json/compare/v0.10.2...v0.10.3)

##### What's Changed

-   Add license for string processing by [@&#8203;goccy](https://togithub.com/goccy) in [goccy/go-json#476
-   fix: decode struct with pointer must be nil by [@&#8203;misyuari](https://togithub.com/misyuari) in [goccy/go-json#473
-   fix: fix a bug for escaping 0xE2 0x80 0xA8 in compactString by [@&#8203;lizixing](https://togithub.com/lizixing) in [goccy/go-json#479
-   Fix custom map marshaling by [@&#8203;viewsharp](https://togithub.com/viewsharp) in [goccy/go-json#505
-   Use io package instead of ioutil package by [@&#8203;shamaton](https://togithub.com/shamaton) in [goccy/go-json#498

##### New Contributors

-   [@&#8203;misyuari](https://togithub.com/misyuari) made their first contribution in [goccy/go-json#473
-   [@&#8203;lizixing](https://togithub.com/lizixing) made their first contribution in [goccy/go-json#479
-   [@&#8203;viewsharp](https://togithub.com/viewsharp) made their first contribution in [goccy/go-json#505
-   [@&#8203;shamaton](https://togithub.com/shamaton) made their first contribution in [goccy/go-json#498

**Full Changelog**: goccy/go-json@v0.10.2...v0.10.3

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate).
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.

decode struct with pointer field must be nil when error
3 participants