tailscale/types/logid
Joe Tsai 2db2d04a37
types/logid: add Add method (#12478)
The Add method derives a new ID by adding a signed integer
to the ID, treating it as an unsigned 256-bit big-endian integer.

We also add Less and Compare methods to PrivateID to provide
feature parity with existing methods on PublicID.

Updates tailscale/corp#11038

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2024-06-17 16:03:44 -07:00
..
id.go types/logid: add Add method (#12478) 2024-06-17 16:03:44 -07:00
id_test.go types/logid: add Add method (#12478) 2024-06-17 16:03:44 -07:00