6 ms·
Nothing gets imported into the namespace when you import a package in go, except a reference to the package itself. The only way to pollute the namespace is to
by NateDad 11y ago
Nothing gets imported into the namespace when you import a package in go, except a reference to the package itself. The only way to pollute the namespace is to use import "foo" . which is strongly discouraged.