netaddress.go
func (na *NetAddress) Equals(other interface{}) bool {
	if o, ok := other.(*NetAddress); ok {
		return na.String() == o.String()
	}

	return false
}
func (na *NetAddress) Equals(other interface{}) bool {
	if o, ok := other.(*NetAddress); ok {
		return na.String() == o.String()
	}

	return false
}
func ( na * NetAddress ) Equals ( other interface { } ) bool { if o , ok := other . ( * NetAddress ) ; ok { return na . String ( ) == o . String ( ) } return false }
// Equals reports whether na and other are the same addresses.
Equals reports whether na and other are the same addresses .