Go

Understanding Pointers in Go — step-by-step Programming tutorial on Progressive Robot

Understanding Pointers in Go

When writing software in Go you’ll be writing functions and methods. You pass data to these functions as arguments. Sometimes, the function needs a local copy of the data, and you want the original to remain unchanged. In this article, you will learn how to create and use pointers to share access to the memory space for a variable.

Read more
Personalizando binários em Go com build tags — step-by-step Programming tutorial on Progressive Robot

Personalizando binários em Go com build tags

No Go, um build tag, ou uma restrição de compilação, é um identificador adicionado a um pedaço de código que determina quando o arquivo deve ser incluído em um pacote durante o processo de build. Isso permite que você compile diferentes versões de seu aplicativo em Go a…

Read more
Handling Errors in Go — step-by-step Programming tutorial on Progressive Robot

Handling Errors in Go

Robust code needs to react correctly to unexpected circumstances like bad user input, faulty network connections, and failing disks. Error handling is the process of identifying when your program is in an unexpected state, and taking steps to record diagnostic information for later debugging.

Read more
How To Sync Transformed Data from MongoDB to Elasticsearch with Transporter on Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

How To Sync Transformed Data from MongoDB to Elasticsearch with Transporter on Ubuntu 14.04

Many times, you might need to migrate data from MongoDB to Elasticsearch in bulk. Writing your own program for this task can be tedious. There is a wonderful open source utility called Transporter, developed by [Compose](https://www.compose.io/) (a cloud platform for databases), that takes care of this task very efficiently. This tutorial shows you how to use the open-source utility Transporter to copy data from MongoDB to Elasticsearch with custom transformations.

Read more
How To Use JSON in Go — step-by-step Programming tutorial on Progressive Robot

How To Use JSON in Go

Programs need to store data their own data and communicate with each other. JSON is a popular way to do both. In this tutorial, you will use Go’s `encoding/json` package to enode and decode JSON data so that you can save your own JSON data and interact with APIs.

Read more
CHAT