Go 随机打乱 字符串 数组
func Random(strings []string) string { for i := len(strings) - 1; i > 0; i-- { num := rand.Intn(i + 1) strings[i], strings[num] = strings[num], strings[i] } str := "" for i := 0; i < len(strings); i++ { str += strings[i] } return str }