- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Wain (0.19 sec)
-
doc/go1.17_spec.html
called the <i>main package</i> with all the packages it imports, transitively. The main package must have package name <code>main</code> and declare a function <code>main</code> that takes no arguments and returns no value. </p> <pre> func main() { … } </pre> <p> Program execution begins by initializing the main package and then
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/godebug.md
The defaults that will be compiled into a main package are reported by the command: {{raw ` go list -f '{{.DefaultGODEBUG}}' my/main/package `}} Only differences from the base Go toolchain defaults are reported. When testing a package, `//go:debug` lines in the `*_test.go` files are treated as directives for the test's main package.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
Earlier versions of Go did not collect unstopped `Timer`s until after they had fired and never collected unstopped `Ticker`s. Second, the timer channel associated with a `Timer` or `Ticker` is now unbuffered, with capacity 0. The main effect of this change is that Go now guarantees that for any call to a `Reset` or `Stop` method, no stale values prepared before that call will be sent or received after the call.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 1.5K bytes - Viewed (0) -
doc/go_spec.html
<p> A complete program is created by linking a single, unimported package called the <i>main package</i> with all the packages it imports, transitively. The main package must have package name <code>main</code> and declare a function <code>main</code> that takes no arguments and returns no value. </p> <pre> func main() { … } </pre> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)