That's not quite true; the "vcs" portion of the Go source code has special code to handle github.com, code.google.com, bitbucket, and some others.
It may have support for a "go-import" file that you speak of, but it definitely has hard-coded knowledge of some popular vcs sites.