Early previewThis guide is in development. Items tagged verify are still being checked against official docs.
nebx Learn
GitHub
Menu
Go

Go

Simple, fast to compile, built for concurrent network services.

Paradigm
Procedural, composition over inheritance
Typing
Static, strong, structural interfaces
Memory
Concurrent low-latency GC
Runs
Single static native binary
Concurrency
Goroutines and channels

Go overview

Simple, fast to compile, built for concurrent network services. Every language page follows the same structure, so you can jump between languages and compare.

Hello world

hello.go
package main

import "fmt"

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

Source repository

The SOLID single-responsibility example in this guide comes from gelnomo/training-algorithms-golang (SOLID/SingleResponsibilityPrinciple.go). The other sections were written for nebx Learn.

Saved in this browser only. Part of Clean code foundations (0/5).