Go fsnotify and Kubernetes ConfigMaps

Since we use k8s more and more at work and some of my small micro-services are using ConfigMaps I needed a simple way to reload the config on-the-fly without the need to restart the whole service. At the time of solving the problem there was nothing my Google-Fu skills could…

Go as a scripting language

Since the last couple of years I've been growing so used to Go that I use it more and more for almost everything. It's such a simple language (with batteries included) to use that I often find myself using it even for the most simple of…

ncsa to json converter written in Go

A very simple application written in Go. It parses Apache Common Logs and returns json instead. Incredibly simple but works incredibly fast also. package main import ( "fmt" "strings" "encoding/json" "bufio" "os" ) func main() { type Request struct { Client string `json:…