cute v1.1.0
Simplify color names (e.g):
- from
ColorBlack
,ColorBrightBlack
- to
Black
,BrightBlack
+ New List
You can print a list of lines dynamically! You can also specify the color for each line:
// juice recipe π§
list := cute.NewList(cute.BrightBlue, "Yummy Juice!")
list.Add(cute.BrightGreen, "1 avocado π₯")
list.Add(cute.BrightRed, "4 strawberry π")
list.Addf(cute.White, "%d ML %s", 500, "milk π₯")
list.Print()
How you can use cute with Scan?
https://github.com/zakaria-chahboun/cute#how-you-can-use-it-with-scan