Tutorials

xml.jpgGolang : delete and modify XML file content

25th July 2014

In our two previous tutorials on how to read XML file and how to create XML….... read more



golang.pngGolang : Encrypt and decrypt data with AES crypto

25th July 2014

In this tutorial we will learn how to encrypt data with Golang's AES crypto package.

AES or Advanced Encryption Standard….... read more



golang.pngGolang : Read directory content with os.Open

24th July 2014

There are few ways to traverse a directory tree and content in Go. One of them is os.File.Readdir function. In….... read more



golang.pngGolang : Read directory content with filepath.Walk()

24th July 2014

Golang's filepath.Walk function allow a program to traverse a directory content and tree with ease. In this tutorial, we will….... read more



golang.pngGolang : Iterating Elements Over A List

23rd July 2014

In this short tutorial, we will learn how to iterate the elements over a list. The code below will populate….... read more



golang.pngGolang : constant 20013 overflows byte error message

21st July 2014

Haven't been updating the tutorials portion for a while as I was busy writing up examples for Golang bytes package.….... read more



xml.jpgRead a XML file in Go

15th July 2014

Golang has a very powerful encoding/xml package that comes with the standard library. All you need to do is the….... read more



golang.pngGolang Hello World Example

15th July 2014

This tutorial is dedicated to a young(11 years old by the time of writing) and upcoming programmer learning Golang in….... read more



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



Advertisement