The smallest thing in Go — Bitfield Consulting.
iota is a neat feature of Go that lets us create “enums”: lists of constants with arbitrary values. Let’s find out how to use iota, with this quick tutorial.
Read in full here:
This thread was posted by one of our members via one of our news source trackers.