GoSliceslices.Min

Returns the minimum value in the slice. (Go 1.21+)

문법

slices.Min(x []E) E