modules

package
v0.0.0-...-d0a1feb Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoadModuleOptions

type LoadModuleOptions struct {
	IncludeIndirectModules bool
}

type Module

type Module struct {
	Path    string
	Version string
	License string
}

func LoadModules

func LoadModules(options LoadModuleOptions) ([]Module, error)

TODO(HenriBeck): Add support to pass a path to a go.mod TODO(HenriBeck): Add support to configure the license classifier treshold

func (*Module) PackageURL

func (module *Module) PackageURL() *url.URL

Jump to

Keyboard shortcuts

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