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

add support to cast int64 slices #128

Closed
wants to merge 1 commit into from

Conversation

Pantani
Copy link

@Pantani Pantani commented Sep 14, 2021

What does this MR does?

Create ToInt64SliceE and ToInt64Slice method to support int64 slice casting;

How to test?

  • Run the unit tests:
go test -v  -run TestToInt64SliceE .
  • Test code:
input := []interface{}{1.2, 3.2}
v = ToInt64Slice(input)
fmt.Println(v)

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@Pantani
Copy link
Author

Pantani commented Sep 14, 2021

@bep, can you help me to review, please?

@Pantani Pantani closed this Oct 5, 2021
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.

None yet

2 participants