The Go Idioms

Following are the 9 most important idioms used in go programming. defer, `comma, ok` idiom, `range` idiom, Goroutines, Channels, Select statement, Interfaces, Zero value, Error handling

Posted May 13, 2023 by Rohith ‐ 3 min read

quick-references blog go

The Go Channel Axioms

In Go, channels are a fundamental primitive for concurrent communication and synchronization between goroutines. There are several axioms that govern how channels work in Go

Posted May 13, 2023 by Rohith ‐ 2 min read

quick-references blog go

Dynamically Add Attributes to a Go Struct at Runtime

There are some workarounds to dynamically add attributes to a go struct at the Runtime. One way to achieve this is by using a map to store the attributes of a struct. Another way to achieve similar functionality is by using reflection.

Posted May 13, 2023 by Rohith ‐ 1 min read

quick-references blog go

Subscribe For More Content