Omar Hayam
0
Q:

Sort an array in Go

s := []int{4, 2, 3, 1}
sort.Ints(s)
fmt.Println(s) // [1 2 3 4]
3

New to Communities?

Join the community