Rennbon
Rennbon
My work is busy now, The company I work for gets off work very late. I've recently decided to work an hour before bed during the week, making sure to...
Thank you for your advice. I'll take it into consideration
想到一个方案,可以配合一个外部服务对 `最终完成或者失败的记录` 做巡检,然后清除数据,如需回溯可以转移记日志或者转移到其他低频廉价存储中
> That is a great addition. I noticed that you add a new dependency for [testing here](https://github.com/DATA-DOG/go-sqlmock/pull/280/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R7). Do you think you can rewrite the test cases using the vanilla testing...
@theodesp I removed testify and used reflect.DeepEqual to verify that it was as expected.
> @Rennbon Thank you. Will try to test it this week a bit more. Ok, hope to merge soon.
@theodesp Is there anything wrong with this PR
> Those are utility functions. They don't have to be in the sqlmock core. They could be published as a separate package. From a usage perspective, this commit reduces mock...
@dolmen 这个库是Go 1.15的,不是所有引用库都会升级到1.18的
验证的逻辑可以交给单独的验证服务做,因为链是单独的,单链容易被伪造,可以将结果持久化后,通过其他链2次验证