channel_select.go
Go•Intermediate
Explorer
C40
C++40
C#40
Dart40
Go
Beginner10
Intermediate10
error_check.go
struct_method.go
channel_select.go
slice_filter.go
map_check.go
interface_impl.go
anonymous_func.go
string_builder.go
context_usage.go
json_tags.go
Advanced10
Expert5
Master5
Java40
JavaScript40
Kotlin40
Objective-C40
Perl40
PHP40
Python40
R40
Ruby40
Rust40
Shell40
Swift40
TypeScript40
channel_select.go
Click to focus
1
2
3
4
5
6
select {↵
case msg := <-ch:↵
fmt.Println(msg)↵
case <-time.After(time.Second):↵
fmt.Println("timeout")↵
}
0WPM•0%•0:00•0/108(0%)|Ln 1, Col 1
UTF-8•Go