Tutorials

If you're new to a part of Go, take a look at the tutorials linked below.

If you haven't installed Go yet, see Download and install.

TutorialDescription
Getting startedSay Hello, World with Go.
Create a moduleA multi-part tutorial that introduces common programming language features from the Go perspective.
Getting started with multi-module workspacesIntroduces the basics of creating and using multi-module workspaces in Go. Multi-module workspaces are useful for making changes across multiple modules.
Accessing a relational databaseIntroduces the basics of accessing a database using the standard library.
Developing a RESTful API with Go and GinIntroduces the basics of writing a RESTful web service API with Go and the Gin Web Framework.
Getting started with genericsIntroduces the basics of generics in Go. With generics, you can declare and use functions or types that are written to work with any of a set of types provided by calling code.
Getting started with fuzzingIntroduces the basics of fuzzing in Go. Fuzzing can generate inputs to your tests that can catch edge cases and security issues that you may have missed.
Getting started with govulncheckIntroduces how to find and fix vulnerabilities with govulncheck. Govulncheck reports known vulnerabilities that affect Go code.
Find and fix vulnerable dependencies with VS Code GoIntroduces how to find and fix vulnerable dependencies directly from your IDE with VS Code Go and Vim.
A Tour of GoAn interactive introduction to Go: basic syntax and data structures; methods and interfaces; and Go's concurrency primitives.