Differences between revisions 20 and 23 (spanning 3 versions)
Revision 20 as of 2023-04-05 17:54:43
Size: 2049
Comment:
Revision 23 as of 2024-03-17 14:58:51
Size: 2054
Comment: Reorg
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
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 '''Go programming language''', also known as '''Golang''', is a static typed and compiled language.
Line 40: Line 40:
== Installation and Setup ==

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

----


Line 43: Line 51:
 * [[Go/ArrayAndSlice|Arrays and Slices]]
 * [[Go/Channel|Channels]]
 * [[Go/Goroutine|Goroutines]]
 * [[Go/Interface|Interfaces]]
 * [[Go/Map|Maps]]
 * [[Go/Pointer|Pointers]]
 * [[Go/String|Strings]]
 * [[Go/ArraysAndSlices|Arrays and Slices]]
 * [[Go/Channels|Channels]]
 * [[Go/Goroutines|Goroutines]]
 * [[Go/Interfaces|Interfaces]]
 * [[Go/Maps|Maps]]
 * [[Go/Pointers|Pointers]]
 * [[Go/ReceiverMethods|Receiver methods]]
 * [[Go/
Strings|Strings]]
Line 61: Line 70:
== Parsers ==

 * [[Go/EncodingCsv|encoding/csv]]
 * [[Go/EncodingXml|encoding/xml]]
 * [[Go/EncodingJson|encoding/json]]


Line 74: Line 75:
 * [[Go/EncodingCsv|encoding/csv]]
 * [[Go/EncodingJson|encoding/json]]
 * [[Go/EncodingXml|encoding/xml]]

Go

The Go programming language, also known as Golang, is a static typed and compiled language.

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

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)