blob: 1ccfa0ff597497b4c4324e20730e2af81c8f04ac (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Code generated by goderive DO NOT EDIT.
package satp
import (
"bytes"
"net"
)
// deriveEqual returns whether this and that are equal.
func deriveEqual(this, that *net.UDPAddr) bool {
return (this == nil && that == nil) ||
this != nil && that != nil &&
bytes.Equal(this.IP, that.IP) &&
this.Port == that.Port &&
this.Zone == that.Zone
}
|