()
| 7 | ) |
| 8 | |
| 9 | func main() { |
| 10 | emojiBorderBox := box.NewBox().Padding(2, 3).Color(box.HiRed).TitlePosition(box.Top) |
| 11 | emojiBorderBox.TopRight("📦").TopLeft("📦🚀").BottomRight("📦").BottomLeft("📦").Horizontal("📦").Vertical("📦") |
| 12 | |
| 13 | fmt.Println(emojiBorderBox.MustRender("Box CLI Maker", "Render highly customizable boxes\nin the terminal")) |
| 14 | |
| 15 | unequalBorderBox := box.NewBox().Padding(2, 3).Color(box.Green).TitlePosition(box.Bottom).TitleColor("#00ffb2").Color("#8B75FF").ContentColor("#12c78f") |
| 16 | unequalBorderBox.TopRight("+").TopLeft("+").BottomRight("+").BottomLeft("++").Horizontal("-").Vertical("||") |
| 17 | |
| 18 | fmt.Println(unequalBorderBox.MustRender("Box CLI Maker", "Render highly customizable boxes\nin the terminal")) |
| 19 | } |
nothing calls this directly
no test coverage detected