golang

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 42 Imported by: 3

Documentation

Overview

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(opts GoCatalogerOpts) pkg.Cataloger

NewGoModFileCataloger returns a new Go module cataloger object.

func NewGoModuleBinaryCataloger added in v0.25.0

func NewGoModuleBinaryCataloger(opts GoCatalogerOpts) pkg.Cataloger

NewGoModuleBinaryCataloger returns a new Golang cataloger object.

Types

type GoCatalogerOpts added in v0.76.0

type GoCatalogerOpts struct {
	// contains filtered or unexported fields
}

func NewGoCatalogerOpts added in v0.78.0

func NewGoCatalogerOpts() GoCatalogerOpts

NewGoCatalogerOpts create a GoCatalogerOpts with default options, which includes: - setting the default remote proxy if none is provided - setting the default no proxy if none is provided - setting the default local module cache dir if none is provided

func (GoCatalogerOpts) WithLocalModCacheDir added in v0.78.0

func (g GoCatalogerOpts) WithLocalModCacheDir(input string) GoCatalogerOpts

func (GoCatalogerOpts) WithNoProxy added in v0.78.0

func (g GoCatalogerOpts) WithNoProxy(input string) GoCatalogerOpts

func (GoCatalogerOpts) WithProxy added in v0.78.0

func (g GoCatalogerOpts) WithProxy(input string) GoCatalogerOpts

func (GoCatalogerOpts) WithSearchLocalModCacheLicenses added in v0.78.0

func (g GoCatalogerOpts) WithSearchLocalModCacheLicenses(input bool) GoCatalogerOpts

func (GoCatalogerOpts) WithSearchRemoteLicenses added in v0.78.0

func (g GoCatalogerOpts) WithSearchRemoteLicenses(input bool) GoCatalogerOpts

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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