builtin

package
v0.64.21 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2026 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Overview

Package builtin imports every in-tree source plugin for the side effect of running its init() — which registers a factory under the sources.Register registry. Anyone wanting all shipped sources available simply blank-imports this package; nothing else needs to be touched.

Adding a new in-tree source plugin: drop its package under internal/sources/, give it an init() that calls sources.Register, then add one line below. cmd/sigcomply does not need to know about it.

Project-local plugins under .sigcomply/plugins/ are wired in by `sigcomply build` (M16) — that command generates a similar import list into the project-specific binary.

Jump to

Keyboard shortcuts

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