userpages icon indicating copy to clipboard operation
userpages copied to clipboard

doesn't work in case the array B is empty

Open eduard1963 opened this issue 4 years ago • 1 comments

if need to to be changed: if _, ok := m[item]; !ok || len(m) == 0 {

eduard1963 avatar Nov 11 '21 12:11 eduard1963

Actually it works if B is empty. Please give an example in Go playground where it does not work.

siongui avatar Nov 11 '21 16:11 siongui