shared

package
v2.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package shared holds constants and helpers used across multiple audit_1to1 sub-packages so they cannot drift.

Index

Constants

View Source
const (
	ClientGoPkgPath = "gitlab.com/gitlab-org/api/client-go"
	ToolsPkgInfix   = "/internal/tools/"
	SchemaVersion   = 1
)

Variables

This section is empty.

Functions

func LoadToolPackages

func LoadToolPackages(root string) ([]*packages.Package, error)

LoadToolPackages loads every package under ./internal/tools/... rooted at root with full type information, returning only the tool sub-packages that resolved types successfully. It is shared by the structs and actions analyzers, which both need the same typed package set. A package-load error aborts the run.

Types

This section is empty.

Jump to

Keyboard shortcuts

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