Differences between revisions 10 and 11
Revision 10 as of 2022-12-31 21:36:28
Size: 1070
Comment:
Revision 11 as of 2023-01-08 05:40:13
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)


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

Tool chain


CategoryRicottone

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