Elias closed the PDF and smiled. "I stopped trying to outsmart the language and started listening to it." specific Go idioms mentioned in the book, or should we look at a code example of a common mistake?
: The official companion website where you can read a free extract, browse a summary of all 100 mistakes, and access the first chapter. Official GitHub Repository 100 Go Mistakes And How To Avoid Them Pdf Download
// Good practice func foo() error return fmt.Errorf("foo: error") Elias closed the PDF and smiled
Using regexp when simpler strings functions work. Fix: use strings.Contains/HasPrefix/Index. 100 Go Mistakes And How To Avoid Them Pdf Download
Let me know if you have any questions.