2
tt.s 및 tt.sep는 문자열
a := Split([]byte(tt.s), []byte(tt.sep), tt.n)
. 내가
a := bytes.Split([]byte("test"), []byte("e"), 0)
을 수행하려고 할 때 내가 얻을 :
cannot convert "test" (type ideal string) to type []uint8 in conversion
cannot convert "e" (type ideal string) to type []uint8 in conversion
고마워요! 방금 PATH와 혼동스러워하고 이전 버전을 사용하고있는 것 같습니다 (새로운 버전을 사용하는 동안). – idavydov