By its very nature, a lot of the code in this library is redundant. We could generate it using go generate.
The big advantage would be (after the refactor in #4), we could generate all combinations of effects like bold, blink, underline, inverse with all different colors.
agreed. It has been some time since I have played with go generate. If you already have something going, awesome. If not, I will try and look at this weekend.
By its very nature, a lot of the code in this library is redundant. We could generate it using go generate.
The big advantage would be (after the refactor in #4), we could generate all combinations of effects like bold, blink, underline, inverse with all different colors.