Movatterモバイル変換


[0]ホーム

URL:


deptest

package
v1.92.3Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License:BSD-3-ClauseImports:11Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

The deptest package contains a shared implementation of negativedependency tests for other packages, making sure we don't startdepending on certain packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcImportAliasCheckadded inv1.52.0

func ImportAliasCheck(ttesting.TB, relDirstring)

ImportAliasCheck checks that all packages are imported according to Tailscaleconventions.

Types

typeDepChecker

type DepChecker struct {GOOSstring// optionalGOARCHstring// optionalOnDep    func(string)// if non-nil, called per dependencyOnImport func(string)// if non-nil, called per importBadDeps  map[string]string// package => whyWantDepsset.Set[string]// packages expectedTagsstring// comma-separatedExtraEnv []string// extra environment for "go list" (e.g. CGO_ENABLED=1)}

func (DepChecker)Check

func (cDepChecker) Check(t *testing.T)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp