We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
gopls isn't emitting any diagnostics for the following code:
func Mymin(a, b int) int { if a < b { return a } else { return b } }
but it could suggest replacing the if/else with return min(a, b).
return min(a, b)