Chapter 8. Standard library

In this chapter

  • Writing output and logging information
  • Decoding and encoding JSON
  • Working with IO and streams of data
  • Interoperability between packages in the standard library

What is the Go standard library and why is it important? The Go standard library is a set of core packages that enhance and extend the language. These packages add to the number of different types of programs you can write without the need to build your own packages or download packages others have published. Since these packages are tied to the language, they come with some special guarantees:

  • They will always exist for each minor release of the language.
  • They will honor the backward-compatibility promise.
  • They are part of the dev, ...

Get Go in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.