golang

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 21 Imported by: 3

Documentation

Overview

Package golang provides a concrete Cataloger implementation for go.mod files.

Package golang provides a concrete Cataloger implementation for go.mod files.

Index

Constants

View Source
const GOARCH = "GOARCH"

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.

func (*Cataloger) Name added in v0.25.0

func (c *Cataloger) Name() string

Name returns a string that uniquely describes a cataloger

Directories

Path Synopsis
internal
xcoff
nolint //this is an internal golang lib nolint // this is an internal golang lib
nolint //this is an internal golang lib nolint // this is an internal golang lib

Jump to

Keyboard shortcuts

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