goland Questions

4

OS: Windows 11 WSL2; IDE: Goland Latest I am trying to open my IDE Goland, but I get this error when the IDE tries to index my project. warning: GOPATH set to GOROOT (/usr/local/go) has no effect g...
Seventy asked 5/11, 2022 at 6:12

3

Solved

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 ru...
Bronco asked 19/2, 2018 at 9:30

8

Solved

When start debbugging session in GoLand I get this error: WARNING: undefined behavior - version of Delve is too old for Go version 1.20.0 (maximum supported version 1.19) I reinstall it with JetB...
Director asked 27/2, 2023 at 21:35

9

Edit 2021-01-28: This whole question is now obsolete because GoLand 2020.3.2 was released today, and it includes a working delve. Don't forget to remove alterations you might have made, as the rele...
Yila asked 26/12, 2020 at 13:33

28

I am writing a project using the Go language with GoLand IDE by Jetbrains. While writing the code, GoLand shows me an error message such as "unresolved reference" when the reference do ex...
Puente asked 1/1, 2020 at 21:53

2

Solved

I am using Go HTML Templates in Jetbrains Goland. How do I get all 3: HTML formatting, template code completion, and template formatting for templates? Assuming I installed Go Templates plugin and ...
Performative asked 30/3, 2021 at 20:50

8

Solved

I love Oh My Zsh, but it has never worked properly in the JetBrains product's Terminals: cannot find executables cannot use version managers like pyenv, sdkman, rvm Oh My Zsh is zsh shell augme...
Aromaticity asked 24/6, 2018 at 0:11

2

Solved

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 & *te...
Unboned asked 20/4, 2022 at 6:10

2

Solved

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/<user...
Grochow asked 14/10, 2022 at 16:40

6

I am taking go1.11rc1 for a spin and the first thing I noticed is that goland does not recognize imports. The goland version announcement says: "support for Go modules out of the box (formerly kn...
Billingsley asked 18/8, 2018 at 17:2

7

Solved

Is it possible to remove empty/blank lines using code formatting in Intellij IDEA?
Massicot asked 20/6, 2012 at 11:6

6

Solved

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...
Crybaby asked 18/5, 2017 at 5:1

8

Solved

What is the best way to sync similar settings across JetBrains IDEs? For example I have PyCharm and PhpStorm, both of which support CSS and HTML, and I would like to have all of the syntax coloring...
Convergence asked 9/2, 2014 at 14:50

2

Solved

I am pretty new to Go and Gogland. I just downloaded 'go1.8.3.windows-amd64.msi', installed it in C Drive and then started writing my programs in a notepad and then finally running it from a termin...
Castellated asked 12/6, 2017 at 14:51

5

Solved

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 ...
Bandog asked 8/8, 2016 at 10:15

5

Solved

I am working with JetBrains GoLand and wondering if it's possible to somehow disable the auto removal of unused imports. I have searched the JetBrains forums earlier and there is no such informatio...
Epirogeny asked 18/7, 2018 at 21:5

3

Solved

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&q...
Eaton asked 16/8, 2022 at 12:1

0

I am getting an error whereby any imports defined in the Go.Mod file are not being resolved. An error message stating "go list -m json all (pkgserver.com) Failed to Run" is displayed. Thi...
Pluviometer asked 21/8, 2022 at 18:28

2

GoLand has syntax support on Go html files with the file extension of .gohtml So what about Go text files? Does GoLand support that as well? .tmpl is supported by vim-go but not GoLand.
Taxable asked 14/3, 2019 at 19:7

2

Solved

Go by itself does not have any explicit way of specifying the interface name with the implementations. But do IDEs like GoLand have a way to figure out the interface that a struct is implementing? ...
Khalil asked 20/9, 2021 at 10:16

2

Solved

When debugging, use the Evaluate expression and try to evaluate a function. The result is shown as: "backend does not support function calls". Why? MacBook Pro M1 GoLand 2021.1.3 Go 1.16....
Joell asked 1/7, 2021 at 6:27

1

Solved

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: Cann...
Tips asked 30/3, 2022 at 11:11

7

I am trying out GoLand and hear that the debugger is supposedly awesome, but I can’t find any documentation explaining how to set it up (GoLand is in preview stage, so that’s not really surprising)...
Swedish asked 11/1, 2017 at 13:59

9

Solved

How to solve this problem? The program works. But the methods in Gogland are highlighted in red. Qt version 5.8 is added. Gogland (1.0 Preview) 1.0 EAP Build #GO-171.4694.61, built on June 27, 201...
Gamete asked 5/7, 2017 at 9:3

5

Solved

In C# the executing program can detect if it's running in the debugger using: System.Diagnostics.Debugger.IsAttached Is there an equivalent in Go? I have some timeouts which I would like to be d...
Humour asked 19/12, 2017 at 2:7

© 2022 - 2024 — McMap. All rights reserved.