Goスライスslices.Max
slices.Reverse

slices.Maxスライス

slices.Min

スライスの最大値を返します。(Go 1.21+)

문법

slices.Max(x []E) E