Various cleanups in the go/ subdirectory.

[skip ci]