IANAL.

The embargo does not require blocking access to everything, just somethings like crypto technologies.

My guess is that google’s lawyers determined that golang.org was covered by the terms of the embargo and that access should not be allowed from embargoed countries.

I don’t know what the legal liability is for running those proxies, I just heard they were accessible from Iran.