Go does not provide the typical, type-driven notion of subclassing, but it does have the ability to “borrow” pieces of an implementation by embedding types within a struct or interface. This module will cover how promotion from embedding works as well how collision and overriding are handled. You will also walk through how to embed types to be able to satisfy a specific interface.
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes. Context is used for controlling concurrent subsystems in your application. This module will cover the different kinds of behavior wi...
Go ships with a strong suite of built in tools. This module will go over the most common tools and how to use them in your daily development workflow. In addition to the tools that ship with Go there are a set of very important linters and vetters that can catch runtime bugs as well as significan...
Go has the ability to build and cross compile with ease. This chapter will cover the different ways to build your binary and additionally covers concepts for embedding build information such as version and GitHub SHA-1 hash. See how build tags are used to conditionally include specific branches o...