Brad Fitzpatrick 059f53e67a feature/condlite/expvar: add expvar stub package when metrics not needed
Saves ~53 KB from the min build.

Updates #12614

Change-Id: I73f9544a9feea06027c6ebdd222d712ada851299
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2025-10-06 16:03:47 -07:00

13 lines
334 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build !(ts_omit_debug && ts_omit_clientmetrics && ts_omit_usermetrics)
// Package expvar contains type aliases for expvar types, to allow conditionally
// excluding the package from builds.
package expvar
import "expvar"
type Int = expvar.Int