Chapter 19.
Building, versioning and quality control
In this section of the book we’re going to shift our focus from writing code to managing and maintaining our project, and take steps to help automate common tasks and prepare our API for deployment.
Specifically, you’ll learn how to:
- Use a makefile to automate common tasks in your project, such as creating and executing migrations.
- Carry out quality control checks of your code using the
go vetandstaticchecktools. - Vendor third-party packages, in case they ever become unavailable in the future.
- Build and run executable binaries for your applications, reduce their size, and cross-compile binaries for different platforms.
- Leverage Git to generate automated version numbers for your application.