mirror of
https://github.com/mainnika/mongox-go-driver.git
synced 2026-06-12 16:53:35 +00:00
Use unsafe pointer in the interface struct header is more correct way
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
|||||||
func IsNil(i interface{}) bool {
|
func IsNil(i interface{}) bool {
|
||||||
|
|
||||||
type iface struct {
|
type iface struct {
|
||||||
_ *interface{}
|
_ unsafe.Pointer
|
||||||
ptr unsafe.Pointer
|
ptr unsafe.Pointer
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user