ZetCode

Go tutorials

Go (often referred to as Golang) is a modern, compiled programming language designed by Google, focusing on simplicity, efficiency, and scalability. Known for its robust concurrency model and straightforward syntax, Go is widely adopted for building cloud-native applications, system tools, and distributed services. Its performance and reliability make it ideal for high-demand environments.

E-books

Go provides powerful features such as goroutines for lightweight concurrent programming, channels for communication between goroutines, and a comprehensive standard library for tasks like web development, file manipulation, and networking. Its statically typed structure ensures type safety and reduces bugs, while its simplicity encourages clean and maintainable code, making it a favorite among developers creating scalable solutions.

Go is commonly used for microservices, container orchestration tools like Kubernetes, and command-line utilities, thanks to its fast compilation, portability, and minimal runtime overhead. It offers a rich ecosystem of libraries and a strong community, providing developers with the resources needed to craft efficient and reliable software for modern infrastructure.

Language basics

Program structure, building, variables, operators, printing, and control flow.

Functions and types

Functions, closures, variadic parameters, pointers, structs, interfaces, generics, and error handling.

Arrays, slices, and maps

Arrays, slices, maps, and the functions that create, grow, filter, and sort them.

Strings

Strings, bytes and runes, building and joining strings, formatting, conversions, and regular expressions.

Packages, modules, and testing

Organizing code into packages and modules, embedding files, testing, and deploying with Docker.

Input and output

Reading user input and command-line arguments, and working with files and directories.

System and terminal

Environment variables, external commands, pipes, and terminal output.

Concurrency

Goroutines, channels, and synchronization with WaitGroup.

Date and time

Getting the current time, and parsing and formatting dates.

Data formats

Encoding and decoding JSON, YAML, CSV, Excel, and Base64 data.

Networking and HTTP

TCP and UDP sockets, URLs, email, HTTP clients and servers, HTTPS, routing, serving and uploading files, and testing HTTP code.

Web frameworks and templates

Routers, web frameworks, WebSockets, and template engines.

Web scraping

Parsing HTML and scraping web pages.

Databases

Working with MySQL and SQLite databases.

Graphics, GUI, and libraries

Drawing, charts, desktop UIs, and other third-party libraries.

Algorithms

Random numbers, word counting, and classic sorting algorithms.

Go Keywords

Go Builtin Functions

Go Builtin Types

Go fmt functions

Go strconv functions

Go slices functions

Go maps functions

Go Regexp

last modified June 21, 2026