Size: 1884
Comment:
|
Size: 2136
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
The '''Go programming language''', also known as '''Golang''', is a compiled, static-typed language. | The '''Go programming language''', also known as '''Golang''', is a statically-typed programming language. It was designed as a modern web service programming language, with strong models for concurrency, parallelism, and error handling. |
Line 5: | Line 5: |
The complete toolchain (compiler, dependency management, etc.) is distributed as and called by '''`go(1)`'''. | The complete toolchain is distributed as '''`go(1)`'''. |
Line 40: | Line 40: |
== Installation and Setup == Most [[Linux]] and [[BSD]] distributions offer a `go` package. ---- |
|
Line 56: | Line 64: |
* [[Go/DeployingInContainers|Deploying in Containers]] | |
Line 57: | Line 66: |
== Parsers == * [[Go/EncodingCsv|encoding/csv]] * [[Go/EncodingXml|encoding/xml]] * [[Go/EncodingJson|encoding/json]] |
|
Line 73: | Line 74: |
* [[Go/EncodingCsv|encoding/csv]] * [[Go/EncodingJson|encoding/json]] * [[Go/EncodingXml|encoding/xml]] |
|
Line 106: | Line 110: |
[[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 statically-typed programming language. It was designed as a modern web service programming language, with strong models for concurrency, parallelism, and error handling.
The complete toolchain is distributed as 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
Installation and Setup
Most Linux and BSD distributions offer a go package.
Language
Tool chain
Standard Library Packages
Third-Party Packages
See also
A Tour of Go, an interactive tutorial
The Go Programming Language Specification