Skip to content

Add function to cast interface{} to []float64 - #179

Merged
sagikazarmark merged 1 commit into
spf13:masterfrom
ste93cry:add-function-to-cast-interface-to-float64-slice
Apr 13, 2025
Merged

sagikazarmark merged 1 commit into
spf13:masterfrom
ste93cry:add-function-to-cast-interface-to-float64-slice

Conversation

@ste93cry

@ste93cry ste93cry commented Mar 6, 2023

Copy link
Copy Markdown
Contributor

Fixes #176 by adding the ToFloat64Slice() and ToFloat64SliceE() helper functions.

@CLAassistant

CLAassistant commented Mar 6, 2023 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@twz915

twz915 commented Aug 8, 2023

Copy link
Copy Markdown

I need this feature

@HiCheems

HiCheems commented Apr 1, 2024

Copy link
Copy Markdown

Is there any plan to add this function?

@sagikazarmark sagikazarmark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please rebase your PR and use the new generic functions? Thanks!

@sagikazarmark sagikazarmark added this to the v1.8.0 milestone Apr 12, 2025
@sagikazarmark

Copy link
Copy Markdown
Collaborator

Overlaps with #236

@ste93cry

Copy link
Copy Markdown
Contributor Author

Could you please rebase your PR and use the new generic functions? Thanks!

Done, I hope the changes are what you intended

@sagikazarmark sagikazarmark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sagikazarmark
sagikazarmark merged commit 77d67b0 into spf13:master Apr 13, 2025
@ste93cry
ste93cry deleted the add-function-to-cast-interface-to-float64-slice branch April 13, 2025 10:55
chouetz pushed a commit to DataDog/cast that referenced this pull request Apr 14, 2026
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.

Add function to cast interface{} to []float64

5 participants