mitchellh/hashstructure

Error for syscall.Errno

andreasg123 opened this issue · 0 comments

I encountered an error with syscall.Errno (defined as uintptr):

var err syscall.Errno
_, herr := hashstructure.Hash(err, hashstructure.FormatV2, nil)
binary.Write: invalid type syscall.Errno

I could test for that but I'm wondering what kind of restrictions I should assume for calling hashstructure.Hash.