Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 377 Bytes

readme.md

File metadata and controls

26 lines (21 loc) · 377 Bytes

Put string in a box

package main

import (
	"fmt"

	"github.com/oliver-gordon/box"
)

func main() {
	fmt.Println(box.Box("I am in a box"))
	fmt.Println(box.BoxMany("I too am in a box", "a resizable box"))
}
----------------- 
| I am in a box | 
-----------------
---------------------
| I too am in a box |
| a resizable box   |
---------------------