Skip to content

Commit

Permalink
feat(GoMod): Parse the GoMod property of module info
Browse files Browse the repository at this point in the history
This prepares for using it in an upcoming change.

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Feb 21, 2023
1 parent f09657f commit 7b02fa6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion analyzer/src/main/kotlin/managers/GoMod.kt
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,10 @@ class GoMod(
val indirect: Boolean = false,

@JsonProperty("Main")
val main: Boolean = false
val main: Boolean = false,

@JsonProperty("GoMod")
val goMod: String
)

private data class DepInfo(
Expand Down

0 comments on commit 7b02fa6

Please sign in to comment.