diff --git a/doc/go_spec.html b/doc/go_spec.html index 01770395fd..4c80f39d4c 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -6008,7 +6008,8 @@ in a program.
A package with no imports is initialized by assigning initial values
to all its package-level variables followed by calling all init
-functions in unspecified order.
+functions in the order they appear in the source, possibly in multiple files,
+as presented to the compiler.
If a package has imports, the imported packages are initialized
before initializing the package itself. If multiple packages import
a package, the imported package will be initialized only once.