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



golang.pngGet file path of temporary file in Go

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

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

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

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

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



Advertisement

Advertisement

Advertisement