Channels
8 lessons
- 01Concurrency and GoroutinesHow Go handles concurrent tasks using lightweight threads called goroutines.
- 02Introduction to ChannelsUsing channels for thread-safe communication between goroutines.
- 03Buffered ChannelsHow to create channels that can hold multiple values before blocking.
- 04Closing ChannelsExplicitly signaling the end of data transmission and handling closed states.
- 05Range and SelectIterating over channel data and listening to multiple channels simultaneously.
- 06Select Default and TickersImplementing non-blocking operations and periodic tasks using time-based channels.
- 07Channel DirectionsUsing directional channels to enforce API contracts and improve code safety.
- 08Channels CheatsheetA quick reference guide for goroutines, channel syntax, and concurrency patterns in Go.