golang array of srtring join code example Example: join slice to string golang fmt.Println(strings.Join(reg[:], ","))