analysisutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package analysisutil defines helper functions used by more than one linters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportsPackage

func ImportsPackage(pkg *types.Package, path string) bool

ImportsPackage reports whether path is imported by pkg.

Copied from golang.org/x/tools/go/analysis/passes/internal/analysisutil.Imports.

Types

This section is empty.

Jump to

Keyboard shortcuts

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