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 readingTag: goland
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 readingIntelliJ 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 readingCan 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 readingHow 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 readingHow 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 readingGoLand 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 readingGoland 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 readingquery 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 readingrpc 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