Documentation ¶
Overview ¶
Package golang provides a concrete Cataloger implementation for go.mod files.
nolint
Package golang provides a concrete Cataloger implementation for go.mod files.
Package version implements the “go version” command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGoModFileCataloger ¶ added in v0.25.0
func NewGoModFileCataloger() *common.GenericCataloger
NewGoModFileCataloger returns a new Go module cataloger object.
Types ¶
type Cataloger ¶ added in v0.25.0
type Cataloger struct{}
func NewGoModuleBinaryCataloger ¶ added in v0.25.0
func NewGoModuleBinaryCataloger() *Cataloger
NewGoModuleBinaryCataloger returns a new Golang cataloger object.
func (*Cataloger) Catalog ¶ added in v0.25.0
func (c *Cataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)
Catalog is given an object to resolve file references and content, this function returns any discovered Packages after analyzing rpm db installation.
Click to show internal directories.
Click to hide internal directories.