tailcfg: add yet another IsZero method

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
main
Josh Bleecher Snyder 6 years ago
parent 070dfa0c3d
commit ce6aca13f0
  1. 4
      tailcfg/tailcfg.go

@ -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 {

Loading…
Cancel
Save