Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container/gqueue: return errors for function gqueue.Push() and gqueue.Pop() #4142

Open
rts-gordon opened this issue Jan 29, 2025 · 0 comments

Comments

@rts-gordon
Copy link

Description

Hi there,
gf is a great golang library, thanks for you work.

There are no errors return of function gqueu.Push() and gqueue.Pop(), sometimes maybe occur issues. For example: if the queue is empty, Pop() will be crashed.

Can you please add return errors for the two function. thanks a lot.

Additional

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant