go-datastructures
go-datastructures copied to clipboard
Queue Get func
When the queue is empty and you use Get I get a strange error instead of ErrEmptyQueue error and please add any error when using Get will output a shorter slice.
@Maxi135798642 , the logic in the code doesn't seem to return any error when you try to do a Get on an empty unless you are setting a timeout. Can you share the error you are getting?