I'm currently working on my go project which was created and managed by go mod, but i think it may be the same with others like 'php composer'.
Problem is:
I import a thirdparty lib and use it somewhere in my project, then go mod to download and cache the code in cache dir. When Command + click to goto defination of an interface which belongs to that lib, i noticed that i just can edit that file. As i expected i may not edit that file or at least some message may show to warn me that you are editing a file that not belongs to your current project, its dangerous.
I'm currently working on my go project which was created and managed by
go mod, but i think it may be the same with others like 'php composer'.Problem is:
I import a thirdparty lib and use it somewhere in my project, then
go modto download and cache the code incache dir. WhenCommand + clickto goto defination of an interface which belongs to that lib, i noticed that i just can edit that file. As i expected i may not edit that file or at least some message may show to warn me that you are editing a file that not belongs to your current project, its dangerous.