Skip to content
GolangFix

GolangFix

Find thousands of fixes for Go Language related issues. Daily Updated!

  • All Questions
  • GoLang
  • goroutine

Tag: goland

December 24, 2022 GoLang

Parse unstructured json in golang

Issue Is there any solution to parse an unstructured json(text) data? below is a sample response of a web requst that i want to parse and access data (the inner list) res,err := http.Get("url_of_server") [[ { "id": "1", "text": "sample

Continue reading
December 23, 2022 GoLang

How to debug docker-compose? Where are config paths set?

Issue I am trying to debug docker-compose, i.e. this Go file, to work on some issue (this one). To do that, I have set up a GoLang debugger The output of go run main.go -f /…/project_root/docker-compose.yml -f /…/project_root/folder1/docker-compose.yml config is

Continue reading
December 14, 2022 GoLang

IntelliJ IDEA: Jump from interface to implementing method in Go

Issue 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

Continue reading
December 14, 2022 GoLang

Can I bind a shortcut to quick fix a specific weak warning?

Issue I’m trying to bind a shortcut key to a specific weak warning in GoLand. I like declaring implicit struct literals. Although I click on it in the gif there I have it now the option "Show quick fixes" binded

Continue reading
December 13, 2022 GoLang

How to switch between x32 and x64 applications in Goland?

Issue I use Goland v. 2020.1 and want to compile x32 and x64 Windows versions of my program. How i can do it? Solution I think you want to ask about how to set GOOS and GOARCH in GoLand. On

Continue reading
December 12, 2022 GoLang

How to change the default message structure GoLand uses when generating an automated test

Issue I absolutely adore the generate test feature of GoLand. I would just like to make a really minor adjustment to the error messages that it displays using the gotest framework. I would really just want to change that string

Continue reading
November 17, 2022 GoLang

GoLand import go module public repo fails with invalid version

Issue I want to import a module I have created into another project. The source code is in GitHub, in a public repo, but I get the following error when trying to import in GoLand: go: finding module for package

Continue reading
October 26, 2022 GoLang

Goland does not add newline at end of file

Issue I am using Goland to write my grpc application. After my proto files are generated, no trailing newline is present at the end of the file. Is there a way to enable this in the IDE? Solution If you

Continue reading
October 23, 2022 GoLang

query a collection in mongodb using golan and returning an id as string

Issue Guys please i’m trying to query a collection in MongoDB and golan using the user phone, get the id of the user and use it to query another collection but when I try to use that return id it

Continue reading
October 10, 2022 GoLang

rpc error: code = Unavailable desc = error reading from server: EOF resulting in a panic runtime error: invalid memory address error on goland

Issue I am new Stack Overflow and this is my first question so I’m very open and happy to make any improvements to it 🙂 I’m having an issue when I run a test method to unlike an artwork. I

Continue reading

Posts navigation

1 2 3 4 Next Posts»

amazon-web-services arrays channel concurrency deadlock dictionary docker error-handling generics go go-gin go-gorm go-modules go-templates goland google-cloud-platform goroutine grpc http interface json kubernetes linux mongo-go mongodb multithreading mysql pointers postgresql protocol-buffers python reflection regex slice sql string struct testing time type-conversion types unit-testing unmarshalling visual-studio-code windows

WordPress Theme: Maxwell by ThemeZee.

Privacy Policy - Terms and Conditions