]> Cypherpunks repositories - gostls13.git/commitdiff
doc: update effective_go.tmpl
authorRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 16:57:54 +0000 (11:57 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 7 Mar 2012 16:57:54 +0000 (11:57 -0500)
Forgot this half in https://golang.org/cl/5764044

R=gri
CC=golang-dev
https://golang.org/cl/5770044

doc/effective_go.tmpl

index 9a0333dbaf6ef2b93e6d418db7b35551b73ba6b0..92620b9c987e82fa41fb9a569c0ef692bb7b3389 100644 (file)
@@ -1723,10 +1723,7 @@ var (
 <p>
 Finally, each source file can define its own niladic <code>init</code> function to
 set up whatever state is required.  (Actually each file can have multiple
-<code>init</code> functions.) The only restriction is that, although
-goroutines can be launched during initialization, they will not begin
-execution until it completes; initialization always runs as a single thread
-of execution.
+<code>init</code> functions.)
 And finally means finally: <code>init</code> is called after all the
 variable declarations in the package have evaluated their initializers,
 and those are evaluated only after all the imported packages have been