mirror of
https://github.com/mainnika/mongox-go-driver.git
synced 2026-05-22 15:53:36 +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 {
|
||||
|
||||
type iface struct {
|
||||
_ *interface{}
|
||||
_ unsafe.Pointer
|
||||
ptr unsafe.Pointer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user