Tutorials

golang.pngGolang : Display list of time zones with GMT

13th February 2017

For this tutorial, we will learn how to grab the list of time zones found in Unix/Darwin(Mac)/Linux/Windows and display the….... read more



golang.pngGolang : Get month name from date example

6th February 2017

Problem:

You have a date and you want to get the month name from the date. For example,10/10/2017 should give….... read more



golang.pngGolang : Generate human readable password

6th February 2017

Got a friend who works in the banking sector and she needs to password generator that will generate a password….... read more



golang.pngGolang : Spell checking with ispell example

6th February 2017

Chinese New Year for 2017 celebration just over and now it is time to get back to work. Here is….... read more



golang.pngGolang : Convert word to its plural form example

21st January 2017

Here is a program that will convert a singular word into its plural form and at the same time, perform….... read more



golang.pngGolang : Handling Yes No Quit query input

19th January 2017

The following is a simple program that will accept a single key answer from the console without the user hitting….... read more



golang.pngGolang : Get hardware information such as disk, memory and CPU usage

18th January 2017

For this tutorial, we will learn how to extract hardware level information with Golang. Accessing hardware level information such as….... read more



golang.pngGolang : Get local IP and MAC address

17th January 2017

This is a short program on how to get the local IP address, search for the correct network interface hardware….... read more



golang.pngGolang : Apply Histogram Equalization to color images

12th January 2017

For this tutorial, we will learn how to convert color images to greyscale and then apply Histogram Equalization as a….... read more



golang.pngGolang : Tell color name with OpenCV example

12th January 2017

Alright, I managed to train my 4-year-old son to learn color names. At this moment, he is able to name….... read more



golang.pngGolang : GTK Input dialog box examples

10th January 2017

Here are some simplified examples on how to create input dialog box with GTK and Golang. Basically, what each programs….... read more



golang.pngGolang : flag provided but not defined error

21st December 2016

Problem :

Your program uses flag.Parse() function to parse the command line arguments and everything is working fine until you….... read more



golang.pngGolang : Quadratic example

21st December 2016

Here is a simple tutorial on how to perform quadratic calculation with Golang. This program accepts two floating point values….... read more



golang.pngGolang : micron to centimeter example

21st December 2016

Problem:

You need to convert centimeter to micron (µ) in Golang. How to do that?

Solution:

Simple. See the following….... read more



golang.pngGolang : Flip coin example

21st December 2016

This is a simple program to simulate flip coin that I use to train a small artificial intelligence program. Basically….... read more



golang.pngGolang : Stop goroutine without channel

20th December 2016

Writing this down here as my own reference. In case you need to stop a goroutine from further execution and….... read more



golang.pngGolang : Convert seconds to minutes and remainder seconds

20th December 2016

Problem:

You have an input seconds in integer that you want to convert into minutes and remainder seconds. How to….... read more



golang.pngGolang : How to convert a number to words

14th December 2016

I need to translate a given number into words such as 100 to one hundred. The code below is a….... read more



Advertisement