types/structs: add structs.Incomparable annotation, use it where applicable

Shotizam before and output queries:

sqlite> select sum(size) from bin where func like 'type..%';
129067
=>
120216
This commit is contained in:
Brad Fitzpatrick
2020-05-03 13:58:39 -07:00
parent 7b901fdbbc
commit fefd7e10dc
12 changed files with 49 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ import (
"tailscale.com/net/dnscache"
"tailscale.com/stun"
"tailscale.com/types/structs"
)
// Stunner sends a STUN request to several servers and handles a response.
@@ -86,6 +87,7 @@ func (s *Stunner) removeTX(tx stun.TxID) (request, bool) {
}
type request struct {
_ structs.Incomparable
sent time.Time
server string
}