Skip to content

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

Merged
rafaeljusto merged 4 commits into
masterfrom
enhancement/sliceutil-toany
Oct 17, 2024
Merged

Enhancement: sliceutil - New function to convert a slice to any#83
rafaeljusto merged 4 commits into
masterfrom
enhancement/sliceutil-toany

Conversation

@rafaeljusto

Copy link
Copy Markdown
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.
@github-actions

Copy link
Copy Markdown

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

@marcizhu marcizhu left a comment

Copy link
Copy Markdown
Member

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 😄

Comment thread sliceutil/sliceutil_test.go Outdated
rafaeljusto and others added 3 commits October 17, 2024 12:50
Co-authored-by: Marc <marc.izquierdo.hu@gmail.com>
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
@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