diff --git a/doc/go_spec.html b/doc/go_spec.html index 0cb9f54b12..83e0f582de 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -5367,7 +5367,8 @@ import . "lib/math" Sin

An import declaration declares a dependency relation between the importing and imported package. -It is illegal for a package to import itself or to import a package without +It is illegal for a package to import itself, directly or indirectly, +or to directly import a package without referring to any of its exported identifiers. To import a package solely for its side-effects (initialization), use the blank identifier as explicit package name: