golang.pngGolang : Encrypt and decrypt data with AES crypto

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

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()

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

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

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

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

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

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

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

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.

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 ?

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

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

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

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

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

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

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



Advertisement

Advertisement

Advertisement