Skip to content
BENIBIX Learn

Go

Development🔤 LanguagesPopular Languages

Also known as Golang, Go Language

A simple, fast language. Good for servers that do many jobs at once.

Think of it like

Think of it like a kitchen with only the knives you really need. Fewer choices, and the food comes out fast.

Example

Go was first built at Google. Jack copies one Go file to a cloud machine, and it serves 5,000 visitors an hour.

Why it matters

A lot of the tools that run the cloud are written in Go. It is quick to learn and quick to ship.

Definition

Go is a simple, fast language that was first shown in 2009. It has few features on purpose, so code written by different people looks alike. It builds into one file that runs without anything else installed. It is very good at doing many jobs at once, which suits servers. Docker and Kubernetes are both written in Go.

Example code

go
package main

import "fmt"

func main() {
    fmt.Println("Hello, world!")
}
Every Go program starts in a package called main.

Common mistake

Searching for help with the word go alone. Search for golang, or the results fill with the verb.

Key takeaways

  1. 1
    Simple on purpose. Few features, one clear way to write things.
  2. 2
    One file to ship. Builds into a single program file.
  3. 3
    Many jobs at once. Easy to run tasks side by side.

Compare

Learn it properly