Home
Sign Up
Sign In
The Go Programming Language
›
http://golang.org/
›
Go Playground
Go Projects
›
Revel Web Framework
Advertisement
V2EX
›
Go 编程语言
有没有比较优雅方法对 GORM 的 tx 进行传递
HanMeiM
·
Nov 28, 2021
· 1118 views
This topic created in 1653 days ago, the information mentioned may be changed or developed.
屌大的各位 Golang 大佬们,目前我是通过将 tx 置为方法参数进行事务会话的传递。
有没有比较优雅的方法呀?虚心求教
方法
Golang
gorm
优雅
1 replies
1
superfatboy
Dec 3, 2021
我也想知道,哈哈
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
961 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 44ms ·
UTC 21:53
·
PVG 05:53
·
LAX 14:53
·
JFK 17:53
♥ Do have faith in what you're doing.
❯