stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

fix: fix slice init length

Open cuishuang opened this issue 1 year ago • 3 comments

Reviewers

r? @ cc @stripe/developer-products

Summary

The intention here should be to initialize a slice with a capacity of len(params) rather than initializing the length of this slice.

The online demo: https://go.dev/play/p/q1BcVCmvidW

cuishuang avatar Oct 04 '24 10:10 cuishuang

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 04 '24 10:10 CLAassistant

@tomas-stripe @vcheung-stripe @charliecruzan-stripe Hi, could you please review this PR? Thank you!

cuishuang avatar Oct 30 '25 16:10 cuishuang