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

[pdata] export NewSliceFromRaw #5679

Merged
merged 5 commits into from
Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### 💡 Enhancements 💡

- Add `linux-ppc64le` architecture to cross build tests in CI
- Expose `pcommon.NewSliceFromRaw` function (#5679)

### 🧰 Bug fixes 🧰

Expand Down
3 changes: 3 additions & 0 deletions pdata/pcommon/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ var (
// NewMapFromRaw creates a Map with values from the given map[string]interface{}.
NewMapFromRaw = internal.NewMapFromRaw
)

// NewSliceFromRaw creates a Slice with values from the given []interface{}.
var NewSliceFromRaw = internal.NewSliceFromRaw