I started learning go and installed GoLand from JetBrains. I am reading the book The Go Programming Language, and in the first chapter author strongly recommends using the gofmt tool before each save. How I can follow this recommendation in GoLand?
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 exist and that the program compiles and runs correctly.
Here is…
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, inspections, etc. be the same for both PyCharm and…
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 known as vgo)"
Anyone know how to fix this?
Problem:…
Since the recent GoLand update I am seeing all return statements folded, as in the image below.
How can I make GoLand show all return statements not folded or hidden, as they are in the actual code?
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 information specifically for Goland.
I'm using GoLand IDE to code in Go.
When I save a file, I'd like that the unused imports disappear (like VS code)
I have enable "Optimize imports" in "Code" -> "Show reformat file dialog". But when I save the file, imports it's still present
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). My use case: I am writing a REST API to which I…
go test $(go list ./... | grep -v /vendor/) -coverprofile .testCoverage.txt
I am using the above command to test the files but there is 1 folder with the name "Store" that I want to exclude from tests. How it can be done?
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 augmentation, so the actual problem could be reduced to…
I'm a newbie,today I'm try to install GoLand.
It has a choice called "Download and install 32-bit Jetbrains Runtime".The image:
I deselect and install it but I also could run my first hello world successfully.I try to search it in Google but…
I have created following .proto file in the path: microservice/internal/proto-files/domain/repository.proto
syntax = "proto3";
package domain;
option go_package = "microservice/internal/gRPC/domain";
message Repository {
int64 id = 1;
string…
I am using JetBrains GoLand and I am trying to debug my go file and I am getting the following error:
decoding dwarf section info at offset 0x0: too short
I tried to find an answer here at StackOverflow but unfortunately, I didn't get any…