UNPKG

snyk-go-plugin

Version:
14 lines (13 loc) 464 B
import { PkgInfo } from '@snyk/dep-graph'; interface GoModule { Version: string; Path: string; } /** * Construct a PackageURL string for a given Go module and import path. * * For a definition of golang type purls, see: * https://github.com/package-url/purl-spec/blob/9041aa74236686b23153652f8cd3862eef8c33a9/types-doc/golang-definition.md */ export declare function createGoPurl(goModule: GoModule, snykPkg?: PkgInfo): string | undefined; export {};