Tutorials

golang.pngApt-get to install and uninstall Golang

12th May 2015

For this short tutorial, we will learn how to install, uninstall Golang with apt-get. We will also explore an interesting….... read more



golang.pngGolang : Ackermann function example

12th May 2015

Not really a tutorial, but just want to play with recursive function and toying with Ackermann function. Hope this example….... read more



golang.pngGolang : How to check if input from os.Args is integer?

12th May 2015

While coding out the Ackermann codes, I need to check if the input parameters are in numeric and….... read more



golang.pngGolang : How to return HTTP status code?

12th May 2015

Was helping out a friend today on her work and one of the problems that she encountered during coding was….... read more



javascript.jpgJavascript : Shuffle or randomize array example

12th May 2015

Problem :

You have an array and you want to shuffle the items in the array. How to do that….... read more



golang.pngGolang : Heap sort example

12th May 2015

Heapsort algorithm divides the unsorted data into a sorted and an unsorted region, and it iteratively shrinks the unsorted region….... read more



golang.pngGolang : Bubble sort example

11th May 2015

Example for Bubble sort algorithm implementation in Golang. Bubble sort a.k.a sinking sort, is a simple sorting algorithm that repeatedly….... read more



golang.pngGolang : Fibonacci number generator examples

11th May 2015

In mathematics, the Fibonacci numbers or Fibonacci sequence are the numbers in the following integer sequence.

1,1,2,3,5,8,13,21,34,55,89,144...

.... read more



golang.pngGolang : How to profile or log time spend on execution?

11th May 2015

Being able to calculate how long it takes to execute a routine or function is crucial in optimizing a program(this….... read more



golang.pngGolang : How to save log messages to file?

11th May 2015

Without log file, system administrators and developers life will be difficult or near impossible to do the work. There is….... read more



golang.pngGolang : Logging with logrus

11th May 2015

While researching for the previous tutorial on how to save log messages to file. I came across an….... read more



golang.pngGolang : Secure(TLS) connection between server and client

9th May 2015

This is additional tutorial for the previous tutorial on creating simple client-server program with Golang. In this tutorial,….... read more



golang.pngGolang : Simple client server example

9th May 2015

This a quick tutorial on creating a bare bone client-server program with Golang. We will start with the server part….... read more



golang.pngGolang : How to get capacity of a slice or array?

8th May 2015

Problem :

You have a slice and you need to find out the capacity of the slice.

Solution :

Use….... read more



golang.pngGolang : Append and add item in slice

8th May 2015

Problem :

You need to append/add new element into a existing slice. How to do that?

Solution :

Use the….... read more



golang.pngGolang : Generate EAN barcode

6th May 2015

Short tutorial on how to use https://github.com/boombuler/barcode package to generate EAN(European Article Number, but now known as International Article Number)….... read more



golang.pngGolang : How to generate Code 39 barcode?

6th May 2015

Additional tutorial on how to use https://github.com/boombuler/barcode package to generate code 39 barcode. Code adapted from previous .... read more



golang.pngGolang : Generate Datamatrix barcode

6th May 2015

Datamatrix barcode is popular in the electronics, technology, arts and food industry as a way to mark small items. As….... read more



Advertisement