Skip to content

Commit

Permalink
Added support for indirect dependency information (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
pandurangpatil authored Dec 15, 2023
1 parent 1b1a7ab commit 20c9d91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions goastgen/modfileparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ func (mod *ModFile) Parse() (string, error) {
node := make(map[string]interface{})
node["Module"] = req.Mod.Path
node["Version"] = req.Mod.Version
node["Indirect"] = req.Indirect
node["node_line_no"] = req.Syntax.Start.Line
node["node_col_no"] = req.Syntax.Start.LineRune
node["node_line_no_end"] = req.Syntax.End.Line
Expand Down

0 comments on commit 20c9d91

Please sign in to comment.