Tutorials

golang.pngGolang : Exit, terminating or aborting a program

6th May 2015

There are times where a controlled termination of a program is required rather than proceeding ahead. This is a quick….... read more



golang.pngGolang : Generate Codabar

6th May 2015

In this tutorial, we will learn how to generate Codabar with Golang. We will use couple of third party packages….... read more



golang.pngGolang : Generate Code128 barcode

6th May 2015

Generating Code 128 barcode in Golang can be done easily with this package ( https://github.com/boombuler/barcode ). We will….... read more



golang.pngGolang : HTTP Server Example

2nd May 2015

Simple tutorial on HTTP server examples with Golang. Run the codes below and point your browser to http://localhost:8080 or http://localhost:8080/replyname/yourname.... read more



golang.pngGolang : How to Set or Add Header http.ResponseWriter?

28th April 2015

Problem :

How to set or add header to http.ResponseWriter?

Solution :

The solution is similar to previous .... read more



golang.pngGolang : Set or Add HTTP Request Headers

28th April 2015

Problem :

While coding the tutorial on how to interface with PayPal, I need to add header value….... read more



golang.pngGolang : Convert HTTP Response body to string

28th April 2015

Problem :

While writing tutorial on how to interface with PayPal's IPN(Instant Payment Notification), I need to convert….... read more



golang.pngGolang : Interfacing with PayPal's IPN(Instant Payment Notification) example

28th April 2015

A startup or any online company at minimum needs to have 3 people. One to make something, another to sell….... read more



golang.pngGolang : Generate random string

27th April 2015

In this tutorial, we will learn how to generate random string in Golang. Random strings can be used in many….... read more



golang.pngGolang : How to run Golang application such as web server in the background or as daemon?

27th April 2015

Problem :

You have completed your Golang program and want to run it as a background process or daemon. For….... read more



golang.pngGolang : Iterate map

27th April 2015

Got a question by a friend asking how to how to iterate through a map in Golang today. Thought that….... read more



golang.pngGolang : How to redirect to new page with net/http?

27th April 2015

Problem :

You need to do a page redirect in Golang. How to do it ?

Solution :

Use net/http.... read more



golang.pngGolang : Timeout example

27th April 2015

It is important for programs to know when to abort when connecting to external resources. One such example is the….... read more



golang.pngGolang : Terminate-stay-resident or daemonize your program?

27th April 2015

Back in the old days of DOS, the concept of terminate-stay-resident via interrupt 27 is popular among programmers looking to….... read more



golang.pngGolang : How to detect a server/machine network interface capabilities?

24th April 2015

Problem :

You want to know which network interfaces on a server that support Broadcast, Loopback, PointToPoint or Multicast networking….... read more



golang.pngGolang : Read tab delimited file with encoding/csv package

23rd April 2015

This tutorial is just a slight modification from previous tutorial on how to read CSV file and save….... read more



web.pngWeb : How to see your website from different countries?

22nd April 2015

Problem :

You need to see(visually) how does your website looks like from different countries and you don't have multiple….... read more



golang.pngGolang : Create PDF file from HTML file

22nd April 2015

When I was coding with PHP and CodeIgniter framework, I need to generate PDF file to email receipts to my….... read more



Advertisement