Are there any examples / example repos on how to use pants for golang code?
08/25/2020, 9:28 PM
We had golang support under the Pants v1 engine, but have not yet developed this for Pants v2. So 1.30.x is the last release series that has support for golang (until we provide it in v2). That is documented here: https://v1.pantsbuild.org/go_readme.html.
Are you using an existing version of Pants?
08/25/2020, 9:47 PM
Yes, a scala and python repo
i’ve sort of got it working, but some dependencies aren’t being found correctly in intellij, they work fine when compiling or running on command line
08/26/2020, 9:25 PM
cc @wide-energy-11069 for intellij issues
08/26/2020, 9:28 PM
afaict pants intellij plugin (working with v1 pants) does not support go
08/26/2020, 9:30 PM
ah that makes sense. from some examples ive seen people use go-env to wrap running intellij so goroot or gopath or whatever is set correctly