golang

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

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

func NewGoModFileCataloger() *common.GenericCataloger

NewGoModFileCataloger returns a new Go module cataloger object.

Types

type Cataloger

type Cataloger struct{}

func NewGoModuleBinaryCataloger

func NewGoModuleBinaryCataloger() *Cataloger

NewGoModuleBinaryCataloger returns a new Golang cataloger object.

func (*Cataloger) Catalog

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

func (c *Cataloger) Name() string

Name returns a string that uniquely describes a cataloger

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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