Make IDs a []string and convert the integers when you append them var IDs []string for _, i := range []int{1, 2, 3, 4} { IDs = append(IDs, strconv.
確定! 回上一頁