mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 12:01:35 +08:00
service,terminal,cmd/dlv: automatically guessing substitute-path config (#3781)
Add command, API calls and launch.json option to automatically guess substitute-path configuration.
This commit is contained in:
committed by
GitHub
parent
ac14553fda
commit
822014b8e8
@ -677,3 +677,10 @@ type Target struct {
|
||||
CmdLine string
|
||||
CurrentThread *Thread
|
||||
}
|
||||
|
||||
// GuessSubstitutePathIn are the input parameters used to guess a substitute-path configuration automatically.
|
||||
type GuessSubstitutePathIn struct {
|
||||
ImportPathOfMainPackage string
|
||||
ClientGOROOT string
|
||||
ClientModuleDirectories map[string]string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user