В bytes_test.go Я вижу:
a := Split([]byte(tt.s), []byte(tt.sep), tt.n)
где tt.s и tt.sep - строки. Но когда я пытаюсь сделать
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