Use unsafe pointer in the interface struct header is more correct way

v2
Nikita Tokarchuk 4 years ago
parent fd53c66690
commit 05ebb25e70
  1. 2
      mongox/utils/isnil.go

@ -8,7 +8,7 @@ import (
func IsNil(i interface{}) bool {
type iface struct {
_ *interface{}
_ unsafe.Pointer
ptr unsafe.Pointer
}

Loading…
Cancel
Save