mirror of
https://github.com/goplus/llgo.git
synced 2025-09-26 19:51:21 +08:00
README: chan
This commit is contained in:
@@ -170,7 +170,6 @@ Here are some examples related to them:
|
||||
Most of the Go syntax is already supported. Except for the following, which needs to be improved:
|
||||
|
||||
* map (Very limited support)
|
||||
* chan (Not supported yet)
|
||||
|
||||
Here are some examples related to Go syntax:
|
||||
|
||||
|
@@ -2,7 +2,7 @@ package main
|
||||
|
||||
func main() {
|
||||
ch := make(chan int, 10)
|
||||
println(ch, len(ch), cap(ch))
|
||||
println(len(ch), cap(ch))
|
||||
go func() {
|
||||
ch <- 100
|
||||
}()
|
Reference in New Issue
Block a user