Chapter 11Distributing Your Tool
By using what you’ve learned in this book, you can develop powerful tools that are flexible, fast, and well-tested. But the tools you build need to reach your users and work in their environment. As briefly discussed in Compiling Your Tool for Different Platforms, one of the benefits of Go is that you can create command-line applications that run on multiple operating systems. You can even cross-compile an application for operating systems other than the one you’re currently using.
In some cases, your tool may use libraries or programs that were built specifically for one particular operating system but may not work on another. In these situations, your command-line tool may not run in all required environments ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access