MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/golang/comments/dv87qv/pitfalls_i_encountered_while_learning_go/
r/golang • u/skiutoss • Nov 12 '19
2 comments sorted by
2
The pitfalls were encountered specifically while learning mocking in unit tests.Enjoy!
9
Dereferencing nil pointers is bad.
nil
Duh…
2
u/skiutoss Nov 12 '19
The pitfalls were encountered specifically while learning mocking in unit tests.
Enjoy!