News for hackers. Stuff that matters.

iovec

Re:Proposal: expression to create pointer to simple types on Monday April 19, 2021 @12:57PM (#26865015)
Since it doesn't seem like this was answered in the other discussion, the answer is that Go does not allow taking the address of a map value. You get a compile-time error: "cannot take the address of m[x]".

https://play.golang.org/p/rX8A6ez9fVx