Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> in Go and interfaces are the only way to properly test

Adding tests using interfaces is solely adding more code (and the method signatures are simply duplicated) so it's the exact opposite of OP's problem.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: