Changing server code from Java to Go.