100 Go Mistakes and How to Avoid Them
Source code and community space of 100 Go Mistakes and How to Avoid Them, published by Manning in August 2022.
Read online: 100go.co.
100 go mistakes linter
Embed code snippets on the website
docs: Add Turkish translation (docs/tr.md)
Typo in: TestRemoveNewLineSuffix_EndingWithoutNewline (page 272, incosistent with page 273)
Bug: 11.7.1 The httptest package: Handler writes body before setting status code (test passes incorrectly)
Wrong Code Example for Mistake 64 (Expecting a deterministic behavior using select and channels)
missing main for Item 58
Item #32 Ignoring the impact of using pointer elements in range loops - not relevant after Go 1.22
Item #29: typo/wrong operator ? (should be <= instead)
Item #42: If the receiver is a map, why must the receiver be a value?