Getting Started with Go on the Fly

You can check the complete code for the sample program here Introduction to Go and Why It's Interesting Go is an interesting open-source programming language with a medium learning curve. What...
0 Read More

Go - (6) Arrays and Slices

Arrays In Go, arrays have a fixed size. ⛶var marks [10]int // an array of 10 integersAssigning values to an array looks like this. ⛶names := [3]string{ "Edward", "Bella", "J...
0 Read More

Golang: Generics in Go

Hi devs, I will be writing an interesting article on how generics helped me solve a challenging problem while I was working on a simple REST API project built with GoLang using the gin framework. ...
0 Read More

Go - (7) Maps

Maps A collection of key-value pairs You can initialize maps like below. ⛶students := make(map[string]int) students["SE"] = 100 students["BA"] = 73 students["DA"] = 49 age...
0 Read More

Go - (8) Advanced Functions

Higher Order Functions (HOF) We can pass functions as data to another function. A function that takes in another function as a parameter or returns another function is called a Higher-order f...
0 Read More

Go - (9) Pointers

Pointers Here we talk about the usage of Pointers in Golang. We don't discuss pointer theories. A pointer stores the memory address of another variable. ⛶x := 5 // value of x is 5 y := x /...
0 Read More