It generates a struct per definition in the yaml
That generally happens for OpenAPI / Swagger in every language
How can I call Windows only function in go in main.go in a way that it won't call in Linux / macOS? Example: func main() { callWindowsFunctionInFromWindowsBuildConstraint(...
How can I grab the text pending on console input (before user press enter to confirm) ?
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...
Hey all, anyone have any idea where the GCCGO development roadmap is posted? Google really isn't helping.
Ise here someone who did microservices with monorepository? Is it a good way to small app with just 5 microservices?
before "Era=1&Payload=JaBh0GIs3mD4vtlsqA2O2DCnoWGcB5tPj+EW9BBK9zCYdiKx803hzCGnAnnX5cI8 rSIAm/99mkgcICMDV/JsDFJ3M33Z6aAT &AuthHash=mkr3lvHVYaLy008u4WAWRhpg9oc= " Go http lib d...
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...
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 ...
Guys let's say I have an error and I want to wrap it using something like fmt.Errorf but I don't want the previous error to show on the string when doing .Error() method. What...
Обсуждают сегодня