Skip to content

oliver-gordon/box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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   |
---------------------

About

Just prints an ascii box

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages