Hey, I would need a little recommendation, I will describe the process shortly: I have a master spawning x goroutines with endless loops. They are running the whole time like...
While talking about jwt tokens, I had a strange problem this morning. This here is my token creation: func CreateToken(id int) (string, error) { claims := jwt.MapClaims{} ...
Hey, I have a goroutine which is putting data into a channel every x seconds. Now I need a worker pool which is waiting for new data (infinitely) and working on them. I tried ...
Hey, I have to run multiple tasks beside each other. Currently I have one function which is calling every task in it's own goroutine. In every task I have an infinite for loop...
Hi, I want to send a message in telegram via a post request. Via query url it works perfectly. That’s my request at the moment which isn’t working: ```const res = axios.post(...
Hey, I need to write a filter function for my api. My idea was to use a url parameter for each filter (around 10). Then iterate through the items array and on each item iterat...
Does somebody ever had a problem with sql, that you inserted +inf instead of the real value? My value is float64, the row type is real, so it should fit. Before the insert st...
hey, I have a dmp file. I need to read memory at a specific adress. It's no problem if I have the process running, but now I have to do the same from the dump. Is that even po...
Hey, I have an []interface{} and need to convert it. It has 2-3 elements every time, sadly sometimes a string in the middle. How can I convert it? I need to read the first ele...
Hi, I have a little problem. I want to load a json but I want to wait for the answer in my main, like blocking till it’s done that I can work afterwards with it. I already tho...
It’s a nested struct, why can you access it that way? But not the other way?
So? That doesn’t work https://pastebin.com/4h2yKX7J Where should I push the values when I don’t return it?
Now I should put my whole code into the .then chain in my index.js? Like wait, will make a link.
Can I Pm you?