Golang

Types of Channels in Golang – Send and Receive Only Channel

Types of Channels in Golang – Send and Receive Only Channel Advertisement In the previous blog, we learned about Channels in Golang. In this blog, we will discuss the types of channels in Golang. Learn about Golang channels from here. Types of Golang Channels In the previous example, we saw receiving values from the channel …

Types of Channels in Golang – Send and Receive Only Channel Read More »

Golang Goroutine Mutex with Example

Golang Goroutine Mutex with Example Advertisement In the previous blog, we learned about Golang Goroutine Syntax and Golang Goroutine Waitgroup. Waitgroups helped us to synchronize Goroutines but it failed to synchronize multiple goroutines. In this blog, we will learn about Golang Goroutine Mutex which will help us to Synchronize multiple Goroutines. Golang Goroutine Mutex Mutex …

Golang Goroutine Mutex with Example Read More »

Golang Interface Syntax, Composing, and Empty Interfaces

Golang Interface Syntax, Composing, and Empty Interfaces Advertisement In this blog, we will learn about Golang Interface Syntax. Let’s see what we are going to learn in Golang Interface Syntax. Syntax of Golang Interface Basics of Golang Interface Composing Interfaces Empty Interface in Golang Before learning Golang Interface make sure Basics of Golang are clear: Golang Interface Syntax type interface …

Golang Interface Syntax, Composing, and Empty Interfaces Read More »

Golang Anonymous Function Closure with Example

Golang Anonymous Function Closure with Example Advertisement In the previous blog, we learned about Function Syntax in Golang and Variadic Arguments. This time we will learn about Anonymous Function in Golang, Return values, and the scope of the variable inside an anonymous function in Golang (Closure). Read Function in Golang to understand Golang Anonymous Function …

Golang Anonymous Function Closure with Example Read More »

Scroll to Top