Comment Comment by mdlayher The alternative is to do something like:type Int intfunc (i Int) Hash() uintptr { /* do the hash */ }But I didn't want to deal with it in this code. I agree that it isn't optimal and would be curious to see if the situation can be improved. parent mdlayher 6 years ago
type Int int
func (i Int) Hash() uintptr { /* do the hash */ }
But I didn't want to deal with it in this code. I agree that it isn't optimal and would be curious to see if the situation can be improved.