Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 333 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 333 Bytes

learngowithtests

Working through Learn Go with Tests.

Takeaways

Use go vet to check code

Use channels when passing ownership of data Use mutexes for managing state https://go.dev/wiki/MutexOrChannel

Don't embed mutexes in structs Maybe don't use embedding in structs at all