I created a simple authoritave backend with support for matchmaking using the following sample: https://github.com/heroiclabs/nakama/blob/master/sample_go_module/sample.go
I also used the following gist to create a minimal setup for the development: https://gist.github.com/novabyte/cc6d57022e2d3baa40e98d8fc91dc4c8