Help us shape the future of Go! Take the 2026 Go Developer Survey

buildtags

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package buildtags computes the go build tag lists that tailcat binaries are built with. Starting from a small allowlist of tailscale.com features that tailcat needs, expanded with their dependencies via featuretags.Requires, every other omittable feature in the featuretags registry is excluded with its ts_omit_ build tag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseTags

func ReleaseTags() string

ReleaseTags returns the comma-joined -tags value for native builds of cmd/tailcat. It must match the checked-in build-tags.txt file and the -tags= line in .goreleaser.yaml; a test enforces both.

func WasmTags

func WasmTags() string

WasmTags returns the comma-joined -tags value for the wasm build, sorted so the same source tree always produces the same wasm bytes.

Types

This section is empty.

Directories

Path Synopsis
Command printtags prints the build tag list for native builds of cmd/tailcat.
Command printtags prints the build tag list for native builds of cmd/tailcat.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL