Avatar
0
monkey Enlightened
monkey Enlightened
[Go]Ý nghĩa của câu lệnh: type TaskResultCh <-chan TaskResult
Ý nghĩa của câu lệnh: type TaskResultCh <-chan TaskResult là gì?
  • Answer
go
Remain: 5
1 Answer
Avatar
monkey Enlightened
monkey Enlightened
type TaskResultCh <-chan TaskResult // tạo ra 1 channel kiểu TaskResult chỉ đọc
type TaskResultCh chan TaskResult   // tạo ra 1 channel kiểu TaskResult đọc ghi
type TaskResultCh chan<- TaskResult // tạo ra 1 channel kiểu TaskResult chỉ ghi
  • 0
  • Reply