Tint - a minimal terminal styling module

Hello guys, for the past 2 months I have been working on a small (my first) go module called Tint and I would like to share with you guys. It helps you with styling text/output on the console.

I have written a Getting started guide on my blog.

This is an initial release with much more improvements/features to come. Please feel free to review/comment or report an issue and/or idea for this module on this github repository.

Hi. This looks nice. I read the code and saw one small improvement

var colorMap = map[color]string

Couldn’t this really be an slice instead? It would be slightly faster.

That is a great suggestion, created an issue on the repo. Thanks for pointing it out for me.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.