Tutorials

golang.pngGolang : How to stream file to client(browser) or write to http.ResponseWriter?

22nd April 2015

Problem :

You have a file - such as a PDF or MP3 file that you want to stream/download straight….... read more



golang.pngGolang : XML to JSON example

21st April 2015

For this tutorial, we will learn how to read data from XML file, process the data and save the output….... read more



golang.pngGolang : How to convert(cast) string to IP address?

21st April 2015

Problem :

You have IP address in string type and you want to convert(cast) the string into type IP address.

.... read more



golang.pngGolang : How to convert(cast) IP address to string?

21st April 2015

Problem :

You need to convert(cast) the integer values you get from function such as net.LookupIP() or type IP (.... read more



golang.pngGolang : Get host name or domain name from IP address

21st April 2015

Thought this tutorial could be a good compliment to previous tutorial on how to find network of an….... read more



golang.pngGolang : HTTP Routing with Goji example

17th April 2015

Alright, this tutorial will show you how to do HTTP routing with Carl Jackson a.k.a zenazn's Goji package. Pretty simple….... read more



golang.pngGolang : Muxing with Martini example

17th April 2015

In this quick tutorial, we will learn how to do basic multiplexing with Martini package. One thing I really like….... read more



golang.pngGolang : Denco multiplexer example

17th April 2015

Kinda free today to test out couple of Golang's web multiplexers. One of the most interesting multiplexers that I've tried….... read more



golang.pngGolang : Basic authentication with .htpasswd file

17th April 2015

If you are looking to protect a web page with Basic Authentication. It can be done easily with Golang. In….... read more



golang.pngGolang : HttpRouter multiplexer routing example

16th April 2015

HttpRouter attempts to transcend other Golang multiplexers by claiming to have better variables and routing supports. It also claimed to….... read more



golang.pngGolang : Routes multiplexer routing example with regular expression control

16th April 2015

This is another Golang's multiplexer example that is worthy to know about. Routes - it has a similar interface to….... read more



golang.pngGolang : Pat multiplexer routing example

16th April 2015

This is a short tutorial on how to use Pat multiplexer - a Sinatra style pattern muxer for Go's net/http….... read more



golang.pngGolang : Multiplexer with net/http and map

16th April 2015

This is additional tutorial on multiplexer, with just net/http package and a map.

A multiplexer allows you to….... read more



golang.pngGolang : Validate email address with regular expression

16th April 2015

This short tutorial is add on to my previous tutorial on how to validate email address with Golang.….... read more



golang.pngGolang : Check if password length meet the requirement

16th April 2015

Problem :

You need to check the password's length entered by users. How to do that in Golang?

Solution :

.... read more



golang.pngGolang : Clone with pointer and modify value

16th April 2015

For those familiar with C language and learning Golang, bear in mind that Golang supports pointer. In this short tutorial,….... read more



golang.pngGolang : Implementing class(object-oriented programming style)

16th April 2015

If you are used to ways of doing things in Java or C++, such as declaring class and assigning different….... read more



fontello.pngFontello : How to load and use fonts?

16th April 2015

Problem :

You have downloaded the Fontello fonts that you wanted and now you want to get the fonts to….... read more



Advertisement