Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdOutput ¶
Types ¶
type AllPackages ¶
type AllPackages struct { Go string `json:"Go"` Require []GoPackage `json:"Require"` Replace []ReplacedGoPackage `json:"Replace"` }
func Parse ¶
func Parse() (AllPackages, error)
Parse returns the go.mod dependencies in a structured format It is an alternative to using https://pkg.go.dev/golang.org/x/mod which frequently contains CVEs and must be updated
type ReplacedGoPackage ¶
Click to show internal directories.
Click to hide internal directories.