omit.go 447 B

123456789101112
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. // Package omit provides consts to access Tailscale ts_omit_FOO build tags.
  4. // They're often more convenient to eliminate some away locally with a const
  5. // rather than using build tags.
  6. package omit
  7. import "errors"
  8. // Err is an error that can be returned by functions in this package.
  9. var Err = errors.New("feature not linked into binary per ts_omit build tag")