From the course: Go for Developers: Practical Techniques for Effective Coding
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Topics - Go Tutorial
From the course: Go for Developers: Practical Techniques for Effective Coding
Topics
- In this lesson, we'll start to explore concurrency in Go with channels. We'll learn the differences between parallelism and concurrency and we'll learn how to use Goroutines and channels to achieve concurrency. We'll learn about channels and how they can be used to communicate between and control Goroutines. We'll learn the differences between buffered and unbuffered channels and when each one will block and unblock. Finally, we'll learn how we can use channels to listen for system signals, so we can gracefully shut down our applications.