Go standard library
The set of packages that ships with Go itself, such as fmt, os, io, net/http, encoding/json and testing.
In more detail
Because these packages come with the toolchain, using them adds no dependency to download, audit or update. The course builds its whole health checker from the standard library. Third-party packages such as Cobra come from other modules.
Example
import "net/http"Related terms
- Go package — A folder of Go source files that are compiled together and share one package name, which other code imports as a unit.
- dependency — Anything a program needs in order to work, such as a library, a tool or another service.
- Go — An open-source programming language from Google, known for simple syntax, fast compilation and built-in concurrency.
Taught in
- Go Workspaces and Modules — Concurrent Systems Programming with Go
- Files and the os Package — Concurrent Systems Programming with Go
- Streams and the io Package — Concurrent Systems Programming with Go
- Parsing Arguments with flag — Concurrent Systems Programming with Go