Skip to content

Commit

Permalink
chore(analyzer): Add the property ModuleInfo.Dir
Browse files Browse the repository at this point in the history
The property will be used in a following change, see also [1].

[1] https://github.com/golang/go/blob/53f13128a7a4c7d16af5ea9ca5f25b56ff9881fe/src/cmd/go/internal/modinfo/info.go#L12-L27

Signed-off-by: Frank Viernau <[email protected]>
  • Loading branch information
fviernau committed Oct 19, 2023
1 parent bccbe4e commit 0a97f62
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 @@ -389,7 +389,10 @@ private data class ModuleInfo(
val main: Boolean = false,

@SerialName("GoMod")
val goMod: String? = null
val goMod: String? = null,

@SerialName("Dir")
val dir: String? = null
)

@Serializable
Expand Down

0 comments on commit 0a97f62

Please sign in to comment.