```go func ReverseString(s []string) { for from, to := 0, len(s)-1; from < to; from, to = from+1, to-1 { s[from], s[to] = s[to], s[from] } } ```