Go: Difference between revisions
From wikinotes
Tag: Manual revert |
No edit summary |
||
Line 20: | Line 20: | ||
|} | |} | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Examples = | |||
<blockquote> | |||
<syntaxhighlight lang="go"> | |||
go install example.com/x/foo@latest # install executable to OS | |||
go run hello.go # build/run go src | |||
</syntaxhighlight> | |||
</blockquote><!-- Examples --> | |||
= Intro/Reference = | = Intro/Reference = |
Revision as of 14:05, 19 June 2022
A minimalist statically linked, strongly typed, compiled language with garbage collection.
Simple support for cross compilation.
Documentation
standard library https://pkg.go.dev/std official docs https://go.dev/doc/ language spec https://go.dev/ref/spec package repo https://pkg.go.dev/ src https://go.dev/src/ cli tools https://go.dev/doc/cmd
Examples
go install example.com/x/foo@latest # install executable to OS go run hello.go # build/run go src
Intro/Reference
golang tutorials golang install golang projects golang packaging golang toolchains golang anatomy golang environments golang conventions
Libraries
golang libraries
Syntax
Features
golang input/output golang logging golang filesystem golang processes golang operating system golang concurrency golang synchronization golang testing