Don't know if this counts as cheating, but I'm just using the go/printer package and then switching on the result.
This means adding support for arrays [12]byte could be tedious, but I don't really see that happening. And if the need does come, then its easier to just add that functionality then.
Don't know if this counts as cheating, but I'm just using the
go/printer
package and then switching on the result.This means adding support for arrays
[12]byte
could be tedious, but I don't really see that happening. And if the need does come, then its easier to just add that functionality then.