go build fail
#6538
Replies: 1 comment
-
UnsafePointer was added in go 1.18. https://pkg.go.dev/[email protected]#Value.UnsafePointer In go 1.16 and 1.17, there is not UnsafePointer. https://pkg.go.dev/[email protected]#Value.UnsafePointer Problem was happened after #6535 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
go version
go version go1.17 linux/amd64
go build
gorm.io/gorm
./gorm.go:382:64: reflect.ValueOf(tx).Elem().FieldByName("db").UnsafePointer undefined (type reflect.Value has no field or method UnsafePointer)
Beta Was this translation helpful? Give feedback.
All reactions