|
Size: 1070
Comment:
|
Size: 983
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 40: | Line 40: |
| == Data Types == | == Language == |
| Line 42: | Line 42: |
| * [[Go/NumericTypes|Numeric Types]] * [[Go/Strings|Strings]] * [[Go/Pointers|Pointers]] |
* [[Go/DataTypes|Data Types]] |
| Line 47: | Line 45: |
| * [[Go/Goroutines|Goroutines]] * [[Go/Interfaces|Interfaces]] |
|
| Line 48: | Line 48: |
| * [[Go/StringsAndRunes|Strings and Runes]] * [[Go/Interfaces|Interfaces]] == Concurrency Models == * [[Go/Goroutines|Goroutines]] |
* [[Go/Pointers|Pointers]] * [[Go/Strings|Strings]] |
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
