We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,这份代码质量非常的高。但是事务的话,现在只能在store里面的每个接口加入db *gorm.DB的参数。不知道如何设计才会更加优雅。
The text was updated successfully, but these errors were encountered:
@HaminyG 请问有什么实现事务的好方法了吗?
Sorry, something went wrong.
是不是直接在story.go中实现Begin,Rollback,Commit函数会比较优雅
No branches or pull requests
您好,这份代码质量非常的高。但是事务的话,现在只能在store里面的每个接口加入db *gorm.DB的参数。不知道如何设计才会更加优雅。
The text was updated successfully, but these errors were encountered: