In IntilliJ Idea/Goland, Is there any shortcut that would allow me to select a method inside interface definition and jump to implementation of that method or give me list of implementations.
I am looking for something like what I get when Cmd+Click…
I have a go codebase on a remote machine that I'd like to be able to debug using Goland. I've been trying to figure out how to set something akin to PyCharm's remote interpreter, but I haven't been able to figure it out. The best I can find is their…
I have latest IntelliJ Ultimate EAP and latest Gogland and the problem occurs on both under MacOS Sierra.
I'm trying to debug a go application by creating a debug profile for Go Application and the Run Kind is configured to Package, which contains…
Just upgraded to: GoLand 2022.2.4
And I did saw some Java stuff messagebox asking something. Now when ever I debug I get:
GOROOT=/opt/homebrew/Cellar/go/1.19/libexec #gosetup
GOPATH=/Users//go…
I have problems with my debugger go on a MacBook Pro M1 Pro.
When I try to debug my code I have this error:
"could not launch process: stub exited while waiting for connection: exit status 0"
I got this error when launching the debugger via…
I updated my codebase to Go 1.18. It all looks great, but in a few places, I found the following issues.
defer func() {
if e := recover() ; e!=nil {
...
}
}()
Compilation is failing with:
Cannot convert 'nil' to type 'any'
The…
Goland shows a underline in a err variable without explaining why/no tooltip for the underline cause (see image below -- the arrow points to the weird underline).
Does anyone know the cause for the underline?
(It does not seem to be because the err…
Could anyone say me how to export environment vars before running GoLand Run" with such command:
source .env
.env file:
export MY_VAR="Some value"
Yes I know, that I can define all vars in run config using "Environment variables", but it is too,…
I use aws-vault to establish a secure sesssion to my dev AWS env in ZSH, all good. Now I want to run my IDE (Gogland) such that it assumes that aws-vault session so that I can then in turn debug some tests that have a dependency on S3.
How can I…
I installed the Goland for the Apple silicon and go SDK in the macOS M1 machine. In the terminal I get -
$ go version
go version go1.18.3 darwin/amd64
When I try to debug the go application, I get the following error -
Debugging programs compiled…
I use strings like !*main*.js to filter out some files. But what if on top of this, I need the files to have 'test' in the file name?
I tried the following but they won't work:
!*main*.js & *test*
!*main*.js && *test*
!*main*.js AND *test*
When trying to debug simple SAM, I'm receiving the following error:
could not launch process: fork/exec /var/task/hello: function not implemented
Is anyone knows how to solve it?
The full log is:
Mounting /Users/.../HelloWorld as…
I installed a utility called watcher.
https://github.com/canthefason/go-watcher
It works as expected using VS code.
But when I tried to use it in Goland (from Jetbrains) I get the following:
watcher main.go --port 8080
2020/03/04 14:10:42 build…
I've made simple application in go and trying to run tests with GUI tools of GoLand.
In myfile_test.go file near test func I press green button that should start test. But I get error message: "Compilation failed" and message in console:
#…