go-queue icon indicating copy to clipboard operation
go-queue copied to clipboard

Will it be possible to add multiple items in a single go?

Open ibnishak opened this issue 4 years ago • 0 comments

Currently I am looping the the slice of items and adding PushBack. Will it be possible to append a slice to q.rep as q.rep = append(q.rep, myslice...). I assume the q.inc() function would have to run beforehand?

ibnishak avatar Mar 30 '21 09:03 ibnishak