Golang tips/tricks

Implicit reference types Slices, maps and channels are reference types that do not require the extra indirection of an allocation with new. Things ain’t what they seem like Will output: 1 = one2 = two Read more

Golang Context

I’m learning golang and I have reached chapter covering contexts. I initially understood the idea behind contexts but to further widen my understanding I’m gonna cover custom implementation here. Context is an interface Golang context is an interface with following... Read more