8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need the max min for my function. but in generics function I can not get them.
The text was updated successfully, but these errors were encountered:
max and min are defined for all built-in ordered types: strings, integers, and floating-point numbers.
For your own data types that are not represented this way, you'll need to write your own min function or less-than operator, which is not hard.
I'm going to close this issue. Feel free to reopen it if you have a specific question or request.
Sorry, something went wrong.
For questions please use a forum, not the issue tracker. See https://go.dev/wiki/Questions. Thanks.
this?
No branches or pull requests
I need the max min for my function.
but in generics function I can not get them.
The text was updated successfully, but these errors were encountered: