Are there any examples / example repos on how to u...
# general
p
Are there any examples / example repos on how to use pants for golang code?
h
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?
p
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
h
cc @wide-energy-11069 for intellij issues
w
afaict pants intellij plugin (working with v1 pants) does not support go
p
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