O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Go Standard Library Solutions

Video Description

Become productive with Go quickly by mastering the most commonly used packages in the standard library

About This Video

  • Learn the most commonly used packages in the Go standard library.
  • Understand the relationship between many of the packages in the standard library and how to leverage them.
  • Learn how to rely less on third-party packages when the standard library has you covered.

In Detail

Go comes out of the box with a full-featured standard library, requiring little in the way of third-party libraries for things like string manipulation, file and network I/O, testing, HTTP servers, and so much more.

In this course, we will dive into the packages that are the most commonly used within the standard library, including fmt, strings, strconv, errors, flag, regexp, io, os, bytes, math, time, archive, compress and image. We will also cover the net/http and context packages packages to build resilient networked applications like HTTP servers and clients. We’ll learn how to take in and serve up JSON for our REST APIs using the encoding/json package. Testing is a first class citizen in Go and we’ll learn how to take full advantage of it using the testing package. Lastly, no Go course would be complete without getting into what draws many to Go in the first place, it’s concurrency primitives and patterns.