Tutorials

javascript.jpgJavascript : Prompt confirmation before exit

11th July 2014

There are times when I typed some words into Facebook comment fields and then somehow got distracted to do….... read more



macosx.jpgUninstall Go from Mac

11th July 2014

Uninstalling Golang from Mac OSX machine can be done easily. All you to do is the remove this directory /usr/local/go

.... read more



golang.pngGolang : Get command line arguments

9th July 2014

Basically there are two ways to get arguments from the command line in Go.

The first way is via….... read more



golang.pngGolang : Resolve domain name to IP4 and IP6 addresses.

9th July 2014

In this short tutorial, we will learn how to resolve (find out) the IP, IP4 and maybe IP6 addresses for….... read more



golang.pngGolang *File points to a file or directory ?

7th July 2014

In this tutorial, we will learn how to find out if the *File pointer is pointing to a file or….... read more



golang.pngGolang :Trim white spaces from a string

7th July 2014

String manipulation functions are a must have for a programming language and Go has plenty of them. In this tutorial….... read more



golang.pngFind and replace a character in a string in Go

7th July 2014

String manipulation functions are a must have for a programming language and Go has plenty of them. In this tutorial….... read more



golang.pngGolang : md5 hash of a string

6th July 2014

This is the simplified version of the previous tutorial on generating checksum in Go. The aim is to….... read more



golang.pngGolang : Check if a directory exist or not

6th July 2014

In this short tutorial, we will learn how to check if a parameter passed as argument is directory or not.….... read more



golang.pngDelete a directory in Go

2nd July 2014

A simple tutorial on how to delete a directory in Go. This tutorial is a respond to this solution.... read more



golang.pngGolang : Convert file content to Hex

2nd July 2014

Somehow for the last couple of days I keep on thinking about my childhood days of hacking DOS games with….... read more



golang.pngGet file path of temporary file in Go

2nd July 2014

There are time when we need to know the exact file path of a temporary file. This is a a….... read more



golang.pngGolang : Create Temporary File

2nd July 2014

Need to create a temporary file in Go? Easy. Below is the code in Go for creating a temporary file

.... read more



golang.pngCreate directory in Go

2nd July 2014

In this short tutorial, we will learn how to create directory in platform independent manner. I.e we don't worry about….... read more



golang.pngGolang : Convert file content into array of bytes

2nd July 2014

It is a fairly common requirement to read a file content into array of bytes and output those arrays back….... read more



golang.pngGenerate checksum for a file in Go

1st July 2014

With billions of files being downloaded and transferred across Internet everyday. Generating checksum is important component in proramming today to….... read more



golang.pngGolang : Get current file path of a file or executable

1st July 2014

Getting a file path in Golang is not that straight forward with just a single function call. In this tutorial,….... read more



golang.pngGolang : Get file last modified date and time

30th June 2014

In this tutorial, we will learn how to get a file last modified date and time with Go. Getting the….... read more



Advertisement