Skip to content

Commit cb5dc87

Browse files
committed
goruting and channel
1 parent a26b1cd commit cb5dc87

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

data/golang.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,30 @@
429429
"code": "\\n"
430430
}
431431
]
432+
},
433+
{
434+
"title":"গোরুটিন এবং চ্যানেল",
435+
"items":[{
436+
"definition":"গোরুটাইন তৈরি করা",
437+
"code":"go func() {\n\t// কোড লিখতে হবে\n}()"
438+
},
439+
{
440+
"definition":"চ্যানেল তৈরি করা",
441+
"code":"ch := make(chan int)"
442+
},
443+
{
444+
"definition":"চ্যানেল এ ভ্যালু পাঠান",
445+
"code":"ch <- 5"
446+
},
447+
{
448+
"definition":"চ্যানেল থেকে ভ্যালু নেয়া",
449+
"code":"val := <- ch"
450+
},
451+
{
452+
"definition":"চ্যানেল এর সাইজ নির্ধারণ করা",
453+
"code":"ch := make(chan int, 5)"
454+
}
455+
]
432456
}
433457
]
434458
}

0 commit comments

Comments
 (0)