Where and When to use Iota in Go
Iota is a useful concept for creating incrementing constants in Go. However, there are several areas where iota may not be appropriate to use. This article will cover several different ways in which you can use iota, and tips on where to be cautious with its use. - Authored by Cory LaNou
gopherguides.com