Differences between revisions 19 and 21 (spanning 2 versions)
Revision 19 as of 2023-04-03 02:50:27
Size: 1966
Comment:
Revision 21 as of 2023-04-05 17:56:41
Size: 2159
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 statically-typed programming language. It was designed as a modern web service programming language, with strong models for concurrency, parallelism, and error handling.
Line 5: Line 5:
The complete toolchain (compiler, dependency management, etc.) is distributed as and called by '''`go(1)`'''. The complete toolchain is distributed as '''`go(1)`'''.
Line 35: Line 35:

----



== Installation and Setup ==

Most [[Linux]] and [[BSD]] distributions offer a `go` package.

Go

The Go programming language, also known as Golang, is a statically-typed programming language. It was designed as a modern web service programming language, with strong models for concurrency, parallelism, and error handling.

The complete toolchain is distributed as 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


Installation and Setup

Most Linux and BSD distributions offer a go package.


Language

Tool chain

Parsers

Standard Library Packages

Third-Party Packages


See also

A Tour of Go, an interactive tutorial

The Go Programming Language Specification

Standard library reference


CategoryRicottone

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