Differences between revisions 6 and 12 (spanning 6 versions)
Revision 6 as of 2022-05-11 14:15:03
Size: 934
Comment:
Revision 12 as of 2023-01-08 05:46:47
Size: 975
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 40: Line 40:
== Data Types == == Language ==
Line 42: Line 42:
 * [[Go/NumericTypes|Numeric Types]]
 * [[Go/Pointers|Pointers]]
 * [[Go/
ArraysAndSlices|Arrays and Slices]]
 * [[Go/Channels|Channels]]
 * [[Go/Maps|Maps]]
 * [[Go/StringsAndRunes|Strings and Runes]]
 * [[Go/Interfaces|Interfaces]]
 * [[Go/DataTypes|Data Types]]
 * [[Go/ArrayAndSlice|Arrays and Slices]]
 * [[Go/Channel|Channels]]
 * [[Go/Goroutine|Goroutines]]
 * [[Go/Interface|Interfaces]]
 * [[Go/
Map|Maps]]
 * [[Go/Pointer|Pointers]]
 * [[Go/
String|Strings]]
Line 52: Line 53:
== Concurrency Models == == Parsers ==
Line 54: Line 55:
 * [[Go/Goroutines|Goroutines]]  * [[Go/Xml|encoding/xml]]
 * [[Go/Json|encoding/json]]
Line 61: Line 63:
 * [[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


Language

Parsers

Tool chain


CategoryRicottone

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