How to timeout tests in Go

3 minute read Published: 2019-07-22

Today I want to share a nice trick I found while inspecting the test file for the bufio in the standard library.

It is about how we can make a test case fail if it take more than X seconds, where X is an arbitrary value we chose.

How to make a simple Prometheus exporter in Go - Part 1

4 minute read Published: 2019-07-20

In this post I want to show how easy can be to write a custom Prometheus exporter in Go.

My experience with Gitea

3 minute read Published: 2019-07-15

In this post I want to share my personal experience with the Gitea project. If you don't know Gitea in a self-hosted alternative to Github.