Size: 670
Comment:
|
Size: 1070
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 compiled, static-typed language. |
Line 13: | Line 13: |
== 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 }}} ---- |
|
Line 16: | Line 43: |
* [[Go/Strings|Strings]] | |
Line 27: | Line 55: |
* [[Go/Goroutines|Coroutines]] | * [[Go/Goroutines|Goroutines]] == Parsers == * [[Go/Xml|encoding/xml]] * [[Go/Json|encoding/json]] |
Line 34: | Line 69: |
* [[Go/Modules|Modules]] |
Go
The Go programming language, also known as Golang, is a compiled, static-typed language.
The complete toolchain (compiler, dependency management, etc.) is invoked by subcommands of 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
Data Types
Concurrency Models
Parsers