api-server icon indicating copy to clipboard operation
api-server copied to clipboard

fix: fix slice init length

Open cuishuang opened this issue 4 months ago • 0 comments

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

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

cuishuang avatar Oct 04 '24 03:10 cuishuang