Closed danielwhite closed 6 years ago
Sorry for the late reply. The change is really neat, thanks!
To answer your questions:
Testing the individual DBs would not be necessary (and not worth additional dependencies as you say). Perhaps it would be worth to test with a mock driver instead? Eg. https://github.com/DATA-DOG/go-sqlmock - it could be something that's imported for tests
Yes, it changes some config options and may break stuff, but should be ok as no release has been made yet. As mentioned by the other guys, the redis import is also in the way for them, so planning to move this to a separate repo in the future.
This relates to https://github.com/flashmob/go-guerrilla/issues/94 which was raised in regards to the dependency footprint. I thought it might be more useful to bring something to the table.
By replacing the
mysql
backend with ansql
backend:The latter case is still untested, and the test case perhaps needs some further consideration.
Questions: