TIL that we can use slices.Max
and slices.Min
functions to find the largest and smallest element in array in golang. https://pkg.go.dev/slices
Slices Package in Golang
Compiling hacks, tricks & bytes of information I learn everyday so others can benefit from it during tough times or otherwise.
Share:
Jun 14, 2024
21 WordsRead Time: 1 Minutes
Few more issues: