modulepackage
0.0.0-20201205134430-1e70bbb16b16
Repository: https://github.com/mvrilo/boxes.git
Documentation: pkg.go.dev
# README
boxes
Boxes is a simple ascii box builder.
Example
package main
import "github.com/mvrilo/boxes"
func main() {
box, _ := boxes.New().Padding(3).WriteString("hey there!")
println(string(box.Render()))
}
$ go run examples/box/main.go
.----------------.
| |
| hey there! |
| |
'----------------'
$ go run examples/canvas/main.go
.-----------------. .-----------------------.
| | | |
| hello world | | boxes is a simple |
| | | ascii box builder |
'-----------------' | |
| :) |
| |
'-----------------------'
License
MIT
Author
Murilo Santana <[email protected]>
# Packages
No description provided by the author