Open nirvanagit opened 7 years ago
Reading on Interfaces: https://go-book.appspot.com/interfaces.html
Structs: http://golangtutorials.blogspot.com/2011/06/methods-on-structs.html
Testing in golang: https://nathanleclaire.com/blog/2015/10/10/interfaces-and-composition-for-effective-unit-testing-in-golang/
How to test a failure without returning error object ?
Reading on Interfaces: https://go-book.appspot.com/interfaces.html
Structs: http://golangtutorials.blogspot.com/2011/06/methods-on-structs.html
Testing in golang: https://nathanleclaire.com/blog/2015/10/10/interfaces-and-composition-for-effective-unit-testing-in-golang/