how does that help? I just need two functions: func(A) B and func(B) A
hey everyone! I have a question about protocol buffers at my work we have microservice architecture and we talk through kafka using protobuf currently I am given a task which ...
does rust segfault if index is not present? too lazy to try myself .-.
so I have this example from go concurrency patterns book: https://hastebin.com/iyopexuqeq.cs it is supposed to send output of the source channel to two other channels. While ...
hello everyone does anyone know how go return value evaluation work? I have a method that looks this: var YandexCard api.YandexCard return YandexCard, json.Unmarshal(A...
Hey everyone, recently I had pleasure to work with docker go api I was so used to go modules that it took me almost an hour to figure out that I was importing outdated version...
By the way, do you guys adhere to clean code principles while writing go? Especially about making everything a class For example making a number generator a struct instead of ...
I`ve been seeing comments in code saying that function is "if condition, function foo is no-op" What would that mean? Is it just saying that function instantly returns or is t...
Could anyone explain to me what is a "reference type"? Everywhere I look it seems that the term is outdated, but I still can't get a grip on what types are references, and wha...
is it safe to read/write struct members concurrently without mutexes assuming each struct field will be accessed only by one goroutine?
What logging package would you guys suggest? They all look the same to me it's a shame standard library doesn't provide interface for logging Don't care much about performance...
are threads not considered processes? I don't have strong knowledge of os internals I have an issue where my code runs normally on my own machine, but when deployed to the clo...
Hey everyone, if I have a slice, for example data := make([]int,10.000) and then I split it like newData := data[5000: ] I don't allocate any new memory, right? Is it just a r...
When I marshall byte slice to json, I get base64 string, which is what I want, but is this somehow guaranteed by the standard? Can I count that in some future update new json...
okay so if anyone knows compiler theory and assembly and stuff: go assembly looks horrible compared to C I know that C is 40 years older than go, but is it just compiler not b...
Hey everyone, I have a global map in my code which is getting accessed from one goroutine only and acts as a cache global variables are pretty bad, right? Is this situation wi...
could anoyne explain why err != nil is testq AX, AX in assembley?
Can anyone suggest good blogs about go stuff? Not medium bullshit Something like Dave Cheney blog
You can just use ?limit=%d if you don't want to deal with url package
does anyone use vscode and know how to stop it from messing with my go.mod? It edits my go.mod on every save and I don't know which tool is responsible for that so I could st...