Structs
Welcome to tutorial no. 16 in our Golang tutorial series. What is a struct? A struct is a user-defined type that represents a collection of fields....
Welcome to tutorial no. 16 in our Golang tutorial series. What is a struct? A struct is a user-defined type that represents a collection of fields....
Welcome to tutorial no. 15 in Golang tutorial series. In this tutorial, we will learn how pointers work in Go and we will also understand how...
Welcome to tutorial no. 14 in Golang tutorial series. Strings deserve a special mention in Go as they are different in implementation when compared to other...
Welcome to tutorial no. 13 in Golang tutorial series. What is a map? A map is a builtin type in Go that is used to store...
Welcome to part 12 of our Golang tutorial series. What is a variadic function? Functions in general accept only a fixed number of arguments. A variadic...
Welcome to the part 11 of Golang tutorial series. In this tutorial, we will learn about Arrays and Slices in Go. Arrays An array is a...
This is tutorial number 10 in Golang tutorial series. What is a switch statement? A switch is a conditional statement that evaluates an expression and compares...
Welcome to tutorial number 9 in Golang tutorial series. A loop statement is used to execute a block of code repeatedly. for is the only loop...
Welcome to tutorial number 8 of our Golang tutorial series. if is a statement that has a boolean condition and it executes a block of code...
This tutorial is now deprecated. Please visit https://golangbot.com/go-packages/ for the updated version. Welcome to tutorial number 7 in Golang tutorial series. What are...
Welcome to tutorial no. 6 in our Golang tutorial series. What is a function? A function is a block of code that performs a specific task....
Welcome to tutorial no. 5 in our Golang tutorial series. What is a constant? The term constant in Go is used to denote fixed values such...
Welcome to tutorial number 4 in our Golang tutorial series. Please read Golang tutorial part 3: Variables of this series to learn about variables. The following...
This is the third tutorial in our Golang tutorial series and it deals with variables in Golang. You can read Golang tutorial part 2: Hello World...
This tutorial is now deprecated. Please visit https://golangbot.com/hello-world-gomod/ for the updated version. This is the second tutorial in our Golang tutorial series. Please...
This is the first tutorial in our Golang tutorial series. This tutorial provides an introduction to Go and also discusses the advantages of choosing Go over...