Size: 322
Comment:
|
Size: 975
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
'''Go''', also known as '''Golang''' is a static typed, compiled programming language. | The '''Go programming language''', also known as '''Golang''', is a compiled, static-typed language. |
Line 13: | Line 13: |
== Toolchain == | == Example == |
Line 15: | Line 15: |
* [[Go/Compiler|Compiler]] | 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 == * [[Go/DataTypes|Data Types]] * [[Go/ArrayAndSlice|Arrays and Slices]] * [[Go/Channel|Channels]] * [[Go/Goroutine|Goroutines]] * [[Go/Interface|Interfaces]] * [[Go/Map|Maps]] * [[Go/Pointer|Pointers]] * [[Go/String|Strings]] == Parsers == * [[Go/Xml|encoding/xml]] * [[Go/Json|encoding/json]] == Tool chain == * [[Go/Compiler|Compiler]] * [[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
Language
Parsers