Size: 935
Comment:
|
Size: 962
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 61: | Line 61: |
* [[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