Skip to content

Category Archives: Go Programming

Go Maps Introduction for Beginners

Maps are unordered collection of key value pairs. In other languages they are known with various names viz. hash tables, dictionaries and associative arrays. Here’s an example of a Key-Value pair – Working Days of the week denoted by integer keys. Key Value 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday In the […]

Continue Reading: Go Maps Introduction for Beginners →
Go Programming – Arrays and Slices

Arrays are collection of similar items that share a common name. A common scenario would be a case where you want to store student’s scores in an exam. Array Declaration var score 3[int] The above can be read as – Score is an array of type integer that can hold a maximum of 3 records. […]

Continue Reading: Go Programming – Arrays and Slices →
Golang Switch Case with Sample Code

Switch Case statements are an efficient alternative to if…else construct. Both the constructs i.e. if…else & switch case are similar and used to select & execute one of many available code blocks based on certain conditions. So, when to use switch case? When the number of alternatives/options are high (say more than 4) an if else looks […]

Continue Reading: Golang Switch Case with Sample Code →
Code Example – If Else in Go Programming

Google’s Go programming language (Golang) is gaining momentum and IMHO it has the potential to become one of the most popular languages in near future. It’s clean, simple and at the same time addresses a few of the challenges of modern computing. There’s no statistics to support but Go is getting popular with programmers of […]

Continue Reading: Code Example – If Else in Go Programming →
Google Go Programming – For Loop Adventure

You might have heard about Google Go programming language. It’s a new programming language, just about 5 years old, which is getting loads of traction among the developer community. I am personally trying this from a couple of weeks and found it appealing. First thing first, Go is concise and neat – unlike most of […]

Continue Reading: Google Go Programming – For Loop Adventure →
Go Programming Language Intro Tutorial

The Go programming language was recently released by Google as a systems language that focuses on the ease of development, fast compilation and concurrent computing. It may very well be the ideal language for the development of a custom web server and distributed computing in the near future.

Continue Reading: Go Programming Language Intro Tutorial →