acmacalister / skittles

Simple terminal colors in golang
MIT License
11 stars 1 forks source link

use go generate #6

Open langston-barrett opened 8 years ago

langston-barrett commented 8 years ago

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.

acmacalister commented 8 years ago

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.