Golang Constants Tutorial With Example | Constants in Go is today’s topic. Go supports the constants of character, string, boolean, and numeric values. Constants are created at compile time, even when defined as locals in functions, and can only number, characters (runes), strings or booleans. Because of Golang’s compile-time restriction, the expressions that define them… (0 comment)

Golang Maps Tutorial With Examples | Maps in Go Explained is today’s topic. One of the most useful data structures in computer science is the hash table. Many hash table implementations exist with varying properties, but in general, they offer fast lookups, adds, and deletes. Go provides a built-in map type that implements a hash… (0 comment)

Go Arrays Tutorial With Example | Arrays in Golang Explained is today’s topic. An array is a fixed-size collection of items of the same type. The items of an array are stored sequentially and can be accessed using their index. If we want to declare an array in Go, a programmer specifies the type of… (0 comment)

Go Structs Tutorial With Example | Structs In Golang Explained is today’s topic. A struct is the user-defined type that contains the collection of named fields/properties. It is used to group related data to form a single unit. Any real-world entity that has the set of properties can be represented using a struct. Structs are useful… (0 comment)

Go Custom Type Declarations Tutorial With Example is today’s topic. Go is not Object Oriented Programming language like Java, PHP, or Python. It has a unique design pattern. In this tutorial, we will see an approach in which we will define our custom types in Go. Go Custom Type Declarations Tutorial We can define our… (0 comment)