Support interaction with godep
A lot of go programs use https://github.com/tools/godep for dependency management, which also provides a "wrapper" command (godep go build, godep go test, etc) for manipulating GOPATH. Dunno if this is possible, but it would be very handy to be able to godebug projects that use godep.
Good point, thanks! godebug could have an option to use an arbitrary wrapper instead of the go command. The two tricky parts that come to mind now are: (1) The initial parsing and type-checking of the program, for which there is probably no godep wrapper command, and (2) Multiple tools manipulating GOPATH could easily run into problems related to this.
I'll look into this more.
The latter is being addressed for Go 1.5 in https://github.com/golang/go/issues/10509! \o/
The latter is being addressed for Go 1.5 in golang/go#10509! \o/
Nice! That's awesome.