3 ms·
If you're comfortable with this style of testing, you can do it in Go using interfaces and code generation. Counterfeiter hooks into `go generate`: https://git
by andor 9y ago
If you're comfortable with this style of testing, you can do it in Go using interfaces and code generation.
Counterfeiter hooks into `go generate`: https://github.com/maxbrunsfeld/counterfeiter https://github.com/maxbrunsfeld/counterfeiter
Here's an example project: https://github.com/andreasf/cf-mysql-plugin https://github.com/andreasf/cf-mysql-plugin