★ Ultimate Guide to Go Variadic Funcs

A DIY Dashboard with Grafana

If your code creates some stats to monitor, Grafana and the Grada package may come in handy.

Go Funcs — Baby-Gopher’s Visual Guide

The Behavior Of Channels

Introduction When I started to work with Go’s channels for the first time, I made the mistake of thinking about channels as a data structure. I saw channels as a queue that provided automatic synchronized access between goroutines. This structural understanding caused me to wri...

Snake over Telnet in Go

Telnet games were very popular some time ago, especially this Star Wars movie: telnet towel.blinkenlights.nl. I wanted to create something in Go, and I wrote this Snake game over Telnet.

Slack Stranger Bot in Go

I am enjoying writing programs in a short time, like in a Hackathon way. Here in Vietnam we don’t have Hackathons often, so yesterday I decided to make one for myself with a time limit in 3 hours. The goal was to build/deploy something that will work and people can try it....

pprof user interface

pprof now is coming with a Web UI. In order to try it out, go get the pprof tool: $ go get github.com/google/pprof The tool launches a web UI if -http flag is provided. For example, in order to launch the UI with an existing profile data, run the following command: $ pprof -http=...

Benchmarking gRPC+Protobuf vs HTTP+JSON in Go

Simplest possible solution for communication between services is to use JSON over HTTP. Though JSON has many obvious advantages - it’s human readable, well understood, and typically performs well - it also has its issues. In the case of internal services the structured formats...

Building REST Server with Elixir

I always wanted to try Elixir because of it’s nice Erlang ecosystem and because it’s similar to Go in a lot of points.

Handle HTTP Request Errors in Go

In this short post I want to discuss handling HTTP request errors in Go.