First Class Functions
Welcome to tutorial no. 33 in Golang tutorial series. What are first class functions? A language that supports first class functions allows functions to be assigned...
Welcome to tutorial no. 33 in Golang tutorial series. What are first class functions? A language that supports first class functions allows functions to be assigned...
Welcome to tutorial no. 32 in Golang tutorial series. What is Panic? The idiomatic way of handling abnormal conditions in a Go program is using errors....
Welcome to tutorial no. 31 in Golang tutorial series. In the last tutorial we learnt how errors are represented in Go and how to handle errors...
Welcome to tutorial no. 30 in Golang tutorial series. What are errors? Errors indicate an abnormal condition occurring in the program. Let's say we are trying...
Welcome to tutorial no. 29 in Golang tutorial series. What is Defer? Defer statement is used to execute a function call just before the surrounding function...
Welcome to tutorial no. 28 in Golang tutorial series. Polymorphism in Go is achieved with the help of interfaces. As we have already discussed, interfaces are...
Welcome to tutorial no. 27 in Golang tutorial series. Go does not support inheritance, however, it does support composition. The generic definition of composition is "put...
Welcome to tutorial no. 26 in Golang tutorial series. Is Go Object Oriented? Go is not a pure object oriented programming language. This excerpt taken from...
Welcome to tutorial no. 25 in Golang tutorial series. In this tutorial, we will learn about mutexes. We will also learn how to solve race conditions...
Welcome to tutorial no. 24 in Golang tutorial series. What is select? The select statement is used to choose from multiple send/receive channel operations. The...
Welcome to tutorial no. 23 in Golang tutorial series. What are buffered channels? All the channels we discussed in the previous tutorial were basically unbuffered. As...
Welcome to tutorial no. 22 in Golang tutorial series. In the previous tutorial, we discussed about how concurrency is achieved in Go using Goroutines. In this...
Welcome to tutorial no. 21 in Golang tutorial series. In the previous tutorial, we discussed concurrency and how it is different from parallelism. In this tutorial,...
Welcome to tutorial no. 20 in Golang tutorial series. Go is a concurrent language and not a parallel one. Before discussing how concurrency is taken care...
Welcome to tutorial no. 19 in Golang tutorial series. This is the second part in our 2 part interface tutorial. In case you missed the first...
Welcome to tutorial no. 18 in Golang tutorial series. This is the first part in our 2 part interface tutorial. What is an interface? In Go,...
Welcome to tutorial no. 17 in Golang tutorial series. Introduction A method is just a function with a special receiver type between the func keyword and...