March 2020
Intermediate to advanced
406 pages
8h 39m
English
If a file matches the GOOS and GOARCH patterns after stripping any extensions and the _test suffix (for test cases), the file will be built for that particular GOOS or GOARCH pattern. Patterns like so are often referenced as follows:
For example, if you have a file that's named example_linux_arm.go, it will only be built as part of the Linux arm builds.
In the next section, we will explore the go clean command.
Read now
Unlock full access