Differences between revisions 5 and 6
Revision 5 as of 2022-05-11 14:14:50
Size: 934
Comment:
Revision 6 as of 2022-05-11 14:15:03
Size: 934
Comment:
Deletions are marked like this. Additions are marked like this.
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)