README: chan

This commit is contained in:
xushiwei
2024-07-02 21:04:34 +08:00
parent 67f8ee61a4
commit dc5fc6bdc2
2 changed files with 1 additions and 2 deletions

View File

@@ -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:

View File

@@ -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
}()