Reverse a string in Go


package main
import (
"fmt"
)

func Reverse(str string) string { 
 result :=""
  for _,v := range str {
       result = string(v) + result
   }
  return result
            
}

func main() {
  fmt.Println(Reverse("Hello world"))

}