diff --git a/doc/go_spec.html b/doc/go_spec.html index f18585a2e9..aa4330d420 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -5472,8 +5472,10 @@ func init()

defined in its source. -A package may contain multiple -init functions, even +A package-scope or file-scope identifier +with name init may only be +declared to be a function with this signature. +Multiple such functions may be defined, even within a single source file; they execute in unspecified order.