Building Go Packages
In this lesson, we'll take a look into building Go programs and discuss the build command and some flags that will help us analyze what's going on when building a package and how dependencies are managed.
We'll cover the following...
Building packages
Go uses caching of pre-built dependencies. To see what would happen if we had to build everything from scratch we can use the -a
and -n
flags. The -a
flag forces a rebuild of all packages, and t. The -n
flag just prints the commands that need to ...