tailcfg: add yet another IsZero method

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder 2020-09-30 17:55:12 -07:00
parent 070dfa0c3d
commit ce6aca13f0

View File

@ -33,6 +33,10 @@ func (u UserID) IsZero() bool {
type LoginID ID
func (u LoginID) IsZero() bool {
return u == 0
}
type NodeID ID
func (u NodeID) IsZero() bool {