# Go

Go is a statically-typed language with syntax loosely derived from that of C, adding garbage collected memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library.

## Installation

From the Official repositories: go.

### Test your installation

Check that Go is installed correctly by building a simple program, as follows.

Create a file named `hello.go` and put the following program in it:

    package main

    import "fmt"

    func main() {
        fmt.Printf("hello pacman\n")
    }

Then run it with the go tool:

    $ go run hello.go

    hello pacman

If you see the "hello pacman" message then your Go installation is working.

Category:

- Programming language