package
0.0.0-20231208061952-f10d33120ced
Repository: https://github.com/liguoqinjim/go-labs.git
Documentation: pkg.go.dev

# README

channel directions

When using channels as function parameters, you can specify if a channel is meant to only send or receive values. This specificity increases the type-safety of the program.

NOTICE

  • channel是有方向的,可以指定

运行结果

Imgur

资料

https://gobyexample.com/channel-directions