metadata

package
v0.268.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Extractor = common.NewExtractor("metadata", (*Fact)(nil), Extract)

Extractor extracts metadata to the module schema.

Functions

func Extract

func Extract(pass *analysis.Pass) (interface{}, error)

Types

type Fact

type Fact = common.DefaultFact[Tag]

type Tag added in v0.260.0

type Tag struct{} // Tag uniquely identifies the fact type for this extractor.

Jump to

Keyboard shortcuts

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