Differences between revisions 7 and 8
Revision 7 as of 2022-05-11 14:15:53
Size: 935
Comment:
Revision 8 as of 2022-09-30 15:48:39
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)


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)