The golang comes with a fair amount of functions end up returning errors like values. The golang errors function looking like this:

You can use the errors package and that implements functions to manipulate errors. The official golang example:

You can see how it created the new custom… Continue Reading Go – about errors .

In this tutorial, I will show you how important it is to read the documentation in programming. I’ll start with a simple command to detect the go language version:

Most will say there are improvements and it is normal to know them. Some of them will think that implementation… Continue Reading Go – simple or not.

A Go developer know the code must be formatted with the standard gofmt tool. While gofmt attracts much attention, goimport is overlooked despite often being more useful. Basically, goimport does everything that gofmt do. First, you need to install into go using:

This will auto import Go packages using… Continue Reading Go – About goimport tool .

After installing the Go programming language from here, you will need to deal with the go command. I’m not very good with golang, but I found some interesting issues for those who want to use go command with golang. About go command can you read here and the go help… Continue Reading Go – Using the go command .

This is my first tutorial in a long series about Go and Android programming. In the limit of my free time, I will try to show you how to do simple applications with the Go programming language (or known as Golang). You need to install the Go programming language using… Continue Reading Go – Testing Golang with android application – part 001 .