I'm trying to use gorilla websocket to start the chart. Authentification middleware working through cookie with JWT token. All my endpoints through HT ...
I'm trying to use gorilla websocket to start the chart. Authentification middleware working through cookie with JWT token. All my endpoints through HT ...
The program runs multiple commands that require sudo privileges (such as sudo dnf update). Since the program should be installed using the go install ...
It is not unusual, when we have a function with a lot of parameters, to create some companion-functions that use the general function with pre-defined ...
I'm making a go library wrapper on namespaces. There were no problems with the net ns, with ips ns and with uts ns, but there are problems with the ot ...
Trying to download the GoLang extension for Visual Studios 2022. When I search for the extension it does not appear. I tried typing in "Go" in the ex ...
I am trying to construct a receiver and sender pattern using two channels in Golang. I am doing a task (API call), and receiving back a Response struc ...
I'am having a PCollection from which I need to choose n largest rows. I'am trying to create a Dataflow pipeline using Go and stuck at this. From th ...
I am trying to send a zip file in POST request body as form-data in GO. So, it is supposed to be in a key-value format. I am able to achieve the same ...
I am trying to make use of generics when writing an asserting function for testing things however it gives me an error Some does not implement TestUti ...
I'm looking for way to store some objects (which have a common behaviour but related to different kinds of structs) and access them through a keyword. ...
I would like to know if it is possible to create 2 different executables on the same module, main1.go -> main1.exe main2.go -> main2.exe the ...
I have a NextJS frontend and Golang backend architecture with an authentication system using JWTs and an internal user/password database. I'm adding O ...
I am making API calls (potentially thousands in a single job) and as they return and complete, I'd like to be able to write them to a single shared fi ...
I am getting a server selection timeout while connecting to mongodb.Any help is appreciated. selection error: server selection timeout, current to ...
I tried using the following command for my Go module locally. When I try to import files locally, like import "mymodule/api/routes", it works. Howe ...
I try to write a test to verify cli prompts, emulate user inputs in response to some program outputs. How to make scanner.Scan wait for the rest of t ...
I have encountered an import cycle problem. I read some blogs but didn't understand them. This is the sample code that I have written. file1.go fi ...
I'am a Python developer but supposed to make a Dataflow pipeline using Go. I couldn't find as many examples for Apache Beam using Go as compared to Py ...
I am using https://github.com/stretchr/testify go library to mock class. I'd like to mock a class's field for aws sdk package: github.com/aws/aws-sdk- ...
I've seen lots of documentation on Google API clients for users, but very little on using a service account. This isn't on behalf of a user, I'm just ...