Active Threads This:
Latest Threads About This Book

In the comment for “type content struct”: “… HTML content tto add…”
New

Tests on compare 2 slice of byte fail because there is a difference in the formatting we get after the parseContent() and goldenFile func...
New

@rgerardi
Problem
As I am working my way through the book today in August of 2024, it appears that blackfriday (v2.1.0) no longer works....
New

The file produced by os.WriteFile() on Windows is not CRLF, but the golden file is very likely CRLF because Windows. Until the reader man...
New

The book says “we instruct the scanner to read words instead by setting the Split() function of the scanner”. But what is really done is ...
New

The book states “Upon initializing a new module, Go creates a file go.mod in the root of your
module directory” but, at least in Go 1.20...
New

@rgerardi
Title: Name of book: description (page number)
Powerful Command-Line Applications in Go (page 9)
I am using Windows to devel...
New

When creating the first cli client for the Todo api,the working file is hardcoded as “.todo.json”. In the main_test.go users are never in...
New

@rgerardi
Title: Powerful Command-Line Applications in Go (page 35 - ebook edition)
Integration test fails do to a superfluous blank in...
New

In func TestLoadNoFile , we create a temp file, delete it, and try to load it.
The test is incorrectly written to expect a nil error whe...
New
Most Active This Week
Most Active This Month
Most Active This Year

The file produced by os.WriteFile() on Windows is not CRLF, but the golden file is very likely CRLF because Windows. Until the reader man...
New

@rgerardi
Problem
As I am working my way through the book today in August of 2024, it appears that blackfriday (v2.1.0) no longer works....
New

Tests on compare 2 slice of byte fail because there is a difference in the formatting we get after the parseContent() and goldenFile func...
New

In the comment for “type content struct”: “… HTML content tto add…”
New
Most Active Last Three Years

@rgerardi
Title: Powerful Command-Line Applications in Go (page 35 - ebook edition)
Integration test fails do to a superfluous blank in...
New

When creating the first cli client for the Todo api,the working file is hardcoded as “.todo.json”. In the main_test.go users are never in...
New

The book says “we instruct the scanner to read words instead by setting the Split() function of the scanner”. But what is really done is ...
New

@rgerardi
Title: Name of book: description (page number)
Powerful Command-Line Applications in Go (page 9)
I am using Windows to devel...
New

The book states “Upon initializing a new module, Go creates a file go.mod in the root of your
module directory” but, at least in Go 1.20...
New
Most Active Over Three Years

Go is a modern programming language that combines the reliability of compiled languages with the ease of use and flexibility of dynamic t...
New

Hello all.
Creating this space here for general discussion and chat about Powerful Command-Line Applications In Go
In particular, we ca...
New

Is there any place where we can discuss the solutions to some of the exercises? I can figure most of them out, but am having trouble with...
New

Title: Powerful Command Line Applications In Go (page 6)
The comment in the update count func reads
// A scanner is used to read text...
New

In chapter 8, Talking to REST APIs, section Testing the REST API Server, the following snippet in server_test.go triggers a warning from ...
New

Title: Powerful Command Line Applications in Go
“CHAPTER 1 - Your First Command-Line Program in Go/Adding Command-Line Flags” there is ...
New

Title: Powerful command line applications in Go (page 13)
A method is a function that is associated to an specific type.
“an specific”
New

Paragraph 3.
Before you can use these external packages in your program, you need to install them in your local machine. In Go, you inst...
New

flags.Usage is introduced on page 32. On Page 35, if the reader leaves that code in their application, the ListTasks test will fail becau...
New

Title: Name of book: Powerful Command Line Applications in Go (page 7)
Could you put the update to TestCountWords before the new TestCou...
New

Sorry, have the epub and Google books says page 10-11:
“I eralized that”
New

“My speaking at the first Gophercon”
on the official website, it is “GopherCon”
New

In func TestLoadNoFile , we create a temp file, delete it, and try to load it.
The test is incorrectly written to expect a nil error whe...
New

Powerful Command-Line Applications in Go by @rgerardi (pp. 385-387)
You might want to mention modernc.org/sqlite as an alternative that ...
New

Title: Powerful Command-Line Aplications in Go (page xiii) small typo in description of Chapter 9
Example: “You’ll external packages to ...
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.