|
Size: 1884
Comment:
|
Size: 1909
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 106: | Line 106: |
| [[https://go.dev/ref/spec|Go language spec]] | [[https://go.dev/ref/spec|The Go Programming Language Specification]] |
Go
The Go programming language, also known as Golang, is a compiled, static-typed language.
The complete toolchain (compiler, dependency management, etc.) is distributed as and called by go(1).
Contents
Example
A hello world program looks like:
package main
import "fmt"
func main() {
fmt.Println("hello world")
}To compile and run the program, try:
go build hello.go ./hello # or go run hello.go
Language
Tool chain
Parsers
Standard Library Packages
Third-Party Packages
See also
A Tour of Go, an interactive tutorial
The Go Programming Language Specification
