We aren't looking at the sql/database package in this book, but for the sake of completion, it is worth mentioning that it uses context too. Most of its operations have a counterpart with context, for instance:
- Beginning a new transaction
- Executing a query
- Pinging the database
- Preparing a query
This concludes the packages in the standard library that use context. Next, we are going to try to use context to build a package to allow the user of that package to cancel requests.