Go Memory Management Part 3

Previously on povilasv.me, we explored Go Memory Management and Go Memory Management part 2. In last blog post, we found that when using cgo, virtual memory grows. In

Read More

Exposing Go Modules to Prometheus

Introduction Recently Go has released Go 1.12, which added support to retrieve build module information via runtime/debug package. Therefore, I decided to build a Go module to expose

Read More

yaml url.URL parsing

I was using gopkg.in/yaml.v2 to unmarshal a .yaml file into a struct and couldn’t find a solution to unmarshal an url string into url.URL. Trying to just use

Read More

Think about your dependencies

A little copying is better than a little dependency, says Go proverb. Go has a huge standard library, which has support for many, many things. I think many developers,

Read More

Go schema migration tools

In this post we will do a comparsion of various Go schema migration tools. This post is written in 2017, so things might have changed since then. Are

Read More

Go advanced testing tips & tricks

This post is based on talk I gave at Vilnius Golang meetup back in 2017. I was still new and just learning go. You are too? Check out

Read More