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

Missing method Option.Equal #67

Open
senago opened this issue Mar 18, 2025 · 0 comments
Open

Missing method Option.Equal #67

senago opened this issue Mar 18, 2025 · 0 comments

Comments

@senago
Copy link

senago commented Mar 18, 2025

I encountered that you cannot use the type mo.Option with https://github.com/google/go-cmp since the fields are private and there's no method Equal(other Option) bool

Though it's a bit opinionated, I would implement such a method

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

No branches or pull requests

1 participant