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

Enhancement: sliceutil - New function to convert a slice to any #83

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

rafaeljusto
Copy link
Contributor

Some libraries require providing []any as input, and this function would be handy for dropping boring loop conversions.

Some libraries require providing `[]any` as input, and this function would be
handy for dropping boring loop conversions.
Copy link

Pull Request Test Coverage Report for Build 11388360312

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.09%) to 78.312%

Totals Coverage Status
Change from base Build 10521599062: 0.09%
Covered Lines: 1206
Relevant Lines: 1540

💛 - Coveralls

@rafaeljusto rafaeljusto changed the title Enhancement: sliceutil - New function to convert any slice to any Enhancement: sliceutil - New function to convert a slice to any Oct 17, 2024
Copy link
Member

@marcizhu marcizhu left a comment

Choose a reason for hiding this comment

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

LGTM! Just one (potential) small issue on the test 😄

sliceutil/sliceutil_test.go Outdated Show resolved Hide resolved
rafaeljusto and others added 3 commits October 17, 2024 12:50
Co-authored-by: Marc <[email protected]>
Linter was complaining about use of the `go/ast` package. Disabling the check
for the moment as this will require extra changes.
@rafaeljusto rafaeljusto merged commit 53670b9 into master Oct 17, 2024
4 checks passed
@rafaeljusto rafaeljusto deleted the enhancement/sliceutil-toany branch October 17, 2024 16:41
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.

2 participants