Skip to content
Justice Tech School

Go Introduction

Go (Golang) was created at Google. It compiles to a single fast binary, has built in concurrency and a small, readable syntax. Docker and Kubernetes are written in Go.

Example
package main

import "fmt"

func main() {
	fmt.Println("Hello, Go!")
}

Result

Hello, Go!
  • Fragments below omit package main and func main. Wrap them to run.

Exercise

Which package prints text?

import ""

Quiz Test

What does Go compile to?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.