Open shubham-dogra-s1 opened 2 months ago
May be I am wrong but currently we only invoke xgo for [[ $cmd = build || $cmd = test || $cmd = run
but if you see the command generated by goland it is using /usr/local/go/bin/go tool
It seems Goland always uses absolute path /usr/local/go/bin/go
instead of go
, which bypasses the shadow path.
For this scenario, I think xgo shadow
needs to support absolute path replacement.
Let me test on my PC first.
Hi, I am trying to use xgo with goland. Generated path using
xgo shadow
and prepended the path toPATH
env variable for the test configuration but still goland using the default go installation.I have verified that the first entry in path environment is the path generated by
xgo shadow
PATH: /Users/shubham.dogra/.xgo/shadow:/usr/local/go/bin:/Users/shubham.dogra/go/bin
Am i missing something?