Skip to content

Conversation

fengyuchuanshen
Copy link

There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.

Signed-off-by: fengyuchuanshen <fengyuchuanshen@outlook.com>
Copy link
Member

@iwpnd iwpnd left a comment

Choose a reason for hiding this comment

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

Hi! Considering this pattern is widely used, readability is no concern in my opinion. If it would increase performance, let’s go - but I cannot imagine that it will.

Copy link
Member

@gdey gdey left a comment

Choose a reason for hiding this comment

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

LGMT

@coveralls
Copy link

Pull Request Test Coverage Report for Build ac9cff933-PR-1054

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 40.445%

Totals Coverage Status
Change from base Build 3c9a91a1f: 0.0%
Covered Lines: 6656
Relevant Lines: 16457

💛 - Coveralls

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.

4 participants