is is possible to use Revel framework with Go code completion support. As far as i know the gocode
utility requires the code to be compiled into a library into a pkg subfolder in order to function, but the framework does compilation on the fly.
I am kind of lost on the topic. Would the proper way be calling the go install for relevant subpackages? That seems to work but it is not the most elegant way of doing this from my perspective.
Hope that someone can point me in right direction.
EDIT: the problem is focused only on sources that I write as part of my Revel application. Downloaded packages have autocompletion as expected
EDIT2: This is the best solution I have found so far - executing go get
command on your project's app/tmp
subfolder. So if your project is called my_project then you would call something like go get my_project/revel/app/tmp
Because this folder contains the main function for the project, it will pull all the dependencies and build them into packages. If the tmp folder does not exist you have to do revel run
on your project and open your web app so it gets created on the fly. Hope this helps at least a bit. I am still open for a better alternative :)