Differences between revisions 5 and 7 (spanning 2 versions)
Revision 5 as of 2022-05-11 14:14:50
Size: 934
Comment:
Revision 7 as of 2022-05-11 14:15:53
Size: 935
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 54: Line 54:
 * [[Go/Goroutines|Coroutines]]  * [[Go/Goroutines|Goroutines]]

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)


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

Tool chain


CategoryRicottone

Go (last edited 2024-03-17 14:58:51 by DominicRicottone)