Skip to content

dependabit / detector/src / parseGoMod

Function: parseGoMod() ​

ts
function parseGoMod(content): PackageMetadata;

Defined in: packages/detector/src/parsers/package-files.ts:130

Parse go.mod and extract URLs from comments EXCLUDES actual dependencies (handled by dependabot)

Parameters ​

ParameterType
contentstring

Returns ​

PackageMetadata

Released under the MIT License.