Documentation ¶
Index ¶
Constants ¶
View Source
const (
PackageTypeName = "go-mod"
)
Variables ¶
This section is empty.
Functions ¶
func GoDevLicenseResolver ¶
func GoDevLicenseResolver(opts ...deps.LicenseResolverOption) deps.LicenseResolverFunc
func Parse ¶
func Parse(source string, opts ...ParseOption) (*deps.DependencyNode, error)
Types ¶
type ParseOption ¶
type ParseOption func(*ParseOptionSet)
func WithCache ¶
func WithCache(r deps.CacheReader, w deps.CacheWriter) ParseOption
func WithLicenseResolver ¶
func WithLicenseResolver(resolver deps.LicenseResolverFunc) ParseOption
func WithParallelization ¶
func WithParallelization(numOfWorkers uint64) ParseOption
type ParseOptionSet ¶
type ParseOptionSet struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.