map as field of each struct? 🤔
Depends on what you're doing
I've built a utility for embedding binaries in JSON. I created a helper for images. Does anyone know of any other "binary things" you often interact with in golang that's apar...
before "Era=1&Payload=JaBh0GIs3mD4vtlsqA2O2DCnoWGcB5tPj+EW9BBK9zCYdiKx803hzCGnAnnX5cI8 rSIAm/99mkgcICMDV/JsDFJ3M33Z6aAT &AuthHash=mkr3lvHVYaLy008u4WAWRhpg9oc= " Go http lib d...
Do you have any "binary things" you deal with in the standard lib other than images?
let guess = match strconv.Atoi(text) { Ok(n) => n, Err(_) => continue, } vs guess, err := strconv.Atoi(text) if err != nil { continue } right?
Do you guys use this pattern for reading JSON request body? Under the An Improved Handler section: https://www.alexedwards.net/blog/how-to-properly-parse-a-json-request-body ...
So my question would narrow down to: is this an appropriate error message? It's a default message by go if the input doesn't match the struct target { "error": "json: ca...
Ise here someone who did microservices with monorepository? Is it a good way to small app with just 5 microservices?
What do you guys think about https://serviceweaver.dev/ It's maintained by Google but fairly new I wonder if it's worth a risky try? 🤔 It's only relevant if all your service...
did go rand.Int() change? I remember it used to output the same number and I had to seed it with time. But now it seems like that's the default
Hey there guys, I have created graphql server for simple user management and when I try to connect it to my frontend vue application using vue-apollo I am getting CORS errors ...
Обсуждают сегодня