new Go support function 'buildGoPackage'