It seems in your use case, Java would have been a viable (and potentially superior) alternative to golang.