Topics


Pages


Content

Byline:

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software

Wikipedia excerpt:

Go is a statically typed, compiled programming language designed at Google … Go is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency.

Key links

Uncategorized Links

Documentation

  • go.dev
    • Include getting started and package discovery on pkg.go.dev. Different to golang.org main site.

Tutorials

Blog posts

Online playgrounds

Releases

Installation

Go Dev

Community

The Go blog

  • Homepage
  • Go fmt
    • The builtin tool to format your code. Please use tabs for indentation. The gofmt command emits them by default.

Recommended reading

Practical coding

Project template repos

Books

Lists of recommended packages

Recommended packages

What’s possible with Go

From go.dev:

  • Cloud and Network Services
  • CLI tools
  • Web development
  • DevOps and Site Reliability

Summary

  • Statically compiled typed language.
  • Outputs binary executables.
  • Created in 2007 at Google by authors such as Ken Thompson who made C.
  • Go has been described as C for the 21st century.
  • It had speed as a compiled language, like C or Rust.
  • It also improves on older languages with faster compile times.

Types

It is efficient in running and also the code - types can often be inferred so your code isn’t verbose.

Both are valid in Go:

var string foo = "abc"

foo := "abc"