The latest version of the book is B1.0, released 26 days ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: B1.0 (23-Oct-19)
PDF page: 7
Second paragraph last sentence...
“Many of these tools are written in teh Go programming language.“
teh should be the
Third paragraph second sentence...
“It is the ideal choice to write command line tools as it provides the easy of use and flexibil- ity to quickly prototype new tools and...”
I think “easy” should be “ease”--Mark Mayer
- Reported in: B1.0 (24-Oct-19)
PDF page: 18
Typo in comment in func main():
// Calling the count function to coun the number of words
// received from the Standard Input and printing it out
See "coun" (should be "count") in first line of above comment.--Brad
- Reported in: B1.0 (26-Oct-19)
PDF page: 23-24
path.Join does not use the correct separator on Windows. It creates a path like "...\\cmd\\todo/todo".
Also, setting binName to "todo" was problematic. I could run the file it creates from the command line, but running it with cmd.Run() only resulted in "file does not exist". Changing binName to "todo.exe" fixes the problem. I am not sure if there is another way to fix it and preserve the portability of the code.--Jason Sweet